PTP
Release 7.0

org.eclipse.ptp.rdt.sync.core.services
Class AbstractSynchronizeService

java.lang.Object
  extended by org.eclipse.ptp.rdt.sync.core.services.AbstractSynchronizeService
All Implemented Interfaces:
ISynchronizeService, ISynchronizeServiceDescriptor

public abstract class AbstractSynchronizeService
extends java.lang.Object
implements ISynchronizeService

Since:
3.0

Constructor Summary
AbstractSynchronizeService(ISynchronizeServiceDescriptor descriptor)
           
 
Method Summary
 java.lang.String getId()
          Returns the unique id that identifies this service.
 java.lang.String getLocation()
          Get the remote directory that will be used for synchronization
 java.lang.String getName()
          Returns the name of this service.
 IRemoteConnection getRemoteConnection()
          Get the remote connection used by this sync service provider.
 ISynchronizeService getService()
           
 void setLocation(java.lang.String location)
          Set the remote directory that will be used for synchronization
 void setRemoteConnection(IRemoteConnection conn)
          set the remote connection used for synchronization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ptp.rdt.sync.core.services.ISynchronizeService
checkout, checkoutRemoteCopy, close, getMergeConflictFiles, getMergeConflictParts, getSyncFileFilter, setMergeAsResolved, setSyncFileFilter, synchronize
 

Constructor Detail

AbstractSynchronizeService

public AbstractSynchronizeService(ISynchronizeServiceDescriptor descriptor)
Method Detail

getId

public java.lang.String getId()
Description copied from interface: ISynchronizeServiceDescriptor
Returns the unique id that identifies this service.

Specified by:
getId in interface ISynchronizeServiceDescriptor
Returns:
the unique id that identifies this service.

getLocation

public java.lang.String getLocation()
Get the remote directory that will be used for synchronization

Specified by:
getLocation in interface ISynchronizeService
Returns:
path

getName

public java.lang.String getName()
Description copied from interface: ISynchronizeServiceDescriptor
Returns the name of this service. This can be shown to the user.

Specified by:
getName in interface ISynchronizeServiceDescriptor
Returns:
the name of this service. This can be shown to the user.

getRemoteConnection

public IRemoteConnection getRemoteConnection()
Description copied from interface: ISynchronizeService
Get the remote connection used by this sync service provider.

Specified by:
getRemoteConnection in interface ISynchronizeService
Returns:
connection

getService

public ISynchronizeService getService()
Specified by:
getService in interface ISynchronizeServiceDescriptor
Returns:

setLocation

public void setLocation(java.lang.String location)
Description copied from interface: ISynchronizeService
Set the remote directory that will be used for synchronization

Specified by:
setLocation in interface ISynchronizeService
Parameters:
location - directory path

setRemoteConnection

public void setRemoteConnection(IRemoteConnection conn)
Description copied from interface: ISynchronizeService
set the remote connection used for synchronization

Specified by:
setRemoteConnection in interface ISynchronizeService
Parameters:
conn - remote connection

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.