Package net.sourceforge.fullsync

Examples of net.sourceforge.fullsync.ConnectionDescription


        }
      });
    }

    public void updateComponent() {
      ConnectionDescription desc = profile.getSource();
      lSource.setText((null != desc) ? desc.getDisplayPath() : "null"); //TODO: null is not really user friendly
      desc = profile.getDestination();
      lDestination.setText((null != desc) ? desc.getDisplayPath() : "null"); //TODO: null is not really user friendly
      lLastUpdate.setText(profile.getLastUpdateText());
      lNextUpdate.setText(profile.getNextUpdateText());
      layout();
    }
View Full Code Here


    else {
      throw new IllegalArgumentException("Profile has unknown synchronization type.");
    }

    try {
      ConnectionDescription srcDesc = profile.getSource();
      ConnectionDescription dstDesc = profile.getDestination();
      if (interactive) {
        srcDesc.setParameter("interactive", "true");
        dstDesc.setParameter("interactive", "true");
      }
      d1 = fsm.createConnection(srcDesc);
      d2 = fsm.createConnection(dstDesc);
      return execute(d1, d2, actionDecider, rules);
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.fullsync.ConnectionDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.