Package com.adobe.cq.dam.mac.sync.api
Interface SyncAgentFactory
- 
public interface SyncAgentFactoryProvides theSyncAgentfor a given type. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyncAgentgetSyncAgent(java.lang.String type)Provides SyncAgent instance for a particular typeSyncAgentgetSyncAgent(java.lang.String type, java.lang.String nameHint)Provides SyncAgent instance for a particular type, the name of the agent is formed using the nameHint 
 - 
 
- 
- 
Method Detail
- 
getSyncAgent
SyncAgent getSyncAgent(java.lang.String type)
Provides SyncAgent instance for a particular type- Parameters:
 type- Type of the sync agent.- Returns:
 - sync agent instance
 - Throws:
 java.lang.IllegalArgumentException- if type isnullor is not recognized.
 
- 
getSyncAgent
SyncAgent getSyncAgent(java.lang.String type, java.lang.String nameHint)
Provides SyncAgent instance for a particular type, the name of the agent is formed using the nameHint- Parameters:
 type- Type of the sync agent.nameHint- hint for agent name- Returns:
 - sync agent instance
 - Throws:
 java.lang.IllegalArgumentException- if type isnullor is not recognized.
 
 - 
 
 -