Package com.adobe.cq.dam.mac.sync.api
Interface SyncAgent
-
public interface SyncAgentDAM Sync Agent Configuration. Defines the properties of a DAM Sync Agent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAgentNameForTenant(java.lang.String tenant)Provides a suitable name for a replication agent used for the bi-directional synchronisation.java.lang.StringgetCqTemplate()Returns thecq:Templateproperty of the sync agentjava.lang.StringgetName()Returns the name of the sync agentjava.lang.StringgetProtocolHTTPMethod()Returns the HTTP Method for the sync agentjava.lang.StringgetSlingResourceType()Returns thesling:ResourceTypeproperty of the sync agentjava.lang.StringgetType()Returns the type of the sync agent
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the sync agent- Returns:
-
getType
java.lang.String getType()
Returns the type of the sync agent- Returns:
-
getProtocolHTTPMethod
java.lang.String getProtocolHTTPMethod()
Returns the HTTP Method for the sync agent- Returns:
-
getSlingResourceType
java.lang.String getSlingResourceType()
Returns thesling:ResourceTypeproperty of the sync agent- Returns:
-
getCqTemplate
java.lang.String getCqTemplate()
Returns thecq:Templateproperty of the sync agent- Returns:
-
getAgentNameForTenant
java.lang.String getAgentNameForTenant(java.lang.String tenant)
Provides a suitable name for a replication agent used for the bi-directional synchronisation.- Parameters:
tenant- the tenant's ID- Returns:
- the agent's name
-
-