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
Modifier and TypeMethodDescriptiongetAgentNameForTenant(String tenant) Provides a suitable name for a replication agent used for the bi-directional synchronisation.Returns thecq:Templateproperty of the sync agentgetName()Returns the name of the sync agentReturns the HTTP Method for the sync agentReturns thesling:ResourceTypeproperty of the sync agentgetType()Returns the type of the sync agent
-
Method Details
-
getName
String getName()Returns the name of the sync agent- Returns:
-
getType
String getType()Returns the type of the sync agent- Returns:
-
getProtocolHTTPMethod
String getProtocolHTTPMethod()Returns the HTTP Method for the sync agent- Returns:
-
getSlingResourceType
String getSlingResourceType()Returns thesling:ResourceTypeproperty of the sync agent- Returns:
-
getCqTemplate
String getCqTemplate()Returns thecq:Templateproperty of the sync agent- Returns:
-
getAgentNameForTenant
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
-