Package com.adobe.cq.dam.mac.sync.api
Interface SyncAgent
-
public interface SyncAgent
DAM 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.String
getAgentNameForTenant(java.lang.String tenant)
Provides a suitable name for a replication agent used for the bi-directional synchronisation.java.lang.String
getCqTemplate()
Returns thecq:Template
property of the sync agentjava.lang.String
getName()
Returns the name of the sync agentjava.lang.String
getProtocolHTTPMethod()
Returns the HTTP Method for the sync agentjava.lang.String
getSlingResourceType()
Returns thesling:ResourceType
property of the sync agentjava.lang.String
getType()
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:ResourceType
property of the sync agent- Returns:
-
getCqTemplate
java.lang.String getCqTemplate()
Returns thecq:Template
property 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
-
-