public interface AgentConfig
Modifier and Type | Method and Description |
---|---|
boolean |
aliasUpdate()
Determines if a replication with this agent should also replicate aliases, vanity URLs.
|
boolean |
allowsExpiredCertificates()
Checks whether the agent allows the use of expired certificates or not.
|
void |
checkValid()
Checks if the configuration is valid and throws an exception if not.
|
String |
getAgentId()
Returns the id for the agent of this configuration.
|
String |
getAgentUserId()
The id of the user that is used to build the replication content.
|
String[] |
getAllTransportURIs()
The list of alternative destination URI.
|
long |
getBatchMaxSize()
If batch mode is enabled for this agent, this method returns a positive byte size.
|
long |
getBatchWaitTime()
If batch mode is enabled for this agent, this method returns a positive number in seconds.
|
AgentConfigGroup |
getConfigGroup()
Returns the group of this configuration
|
String |
getConfigPath()
Returns the path to the configuration node.
|
String |
getId()
Returns the id of this configuration.
|
String |
getLogLevel()
The current log level - DEBUG, INFO, or ERROR.
|
int |
getMaxRetries()
Deprecated.
This is handled by the queue configuration
|
String |
getName()
The descriptive name of this replication agent.
|
ValueMap |
getProperties()
Returns All agent properties as value map.
|
long |
getRetryDelay()
The retry delay in milliseconds.
|
String |
getSerializationType()
The name of the serialization type.
|
String |
getSSLConfig()
Returns SSL config mode.
|
String |
getTransportPassword()
The target user password for delivering the content.
|
String |
getTransportURI()
The destination URI.
|
String |
getTransportUser()
The target user name for delivering the content.
|
boolean |
isBatchMode()
Returns if the replication by this agent is performed in batch mode.
|
boolean |
isEnabled()
Checks if this agent is enabled This is a convenience method and returns the property
AGENT_ENABLED . |
boolean |
isInMaintenanceMode()
Checks if this agent is in maintenance mode This is a convenience method and returns the property
AGENT_MAINTENANCE . |
boolean |
isOAuthEnabled()
Checks whether the agent is using the OAuth 2.0 Authorization Grants mechanism or not.
|
boolean |
isSpecific()
Checks if this agent is used for specific applications.
|
boolean |
isTriggeredOnDistribute()
Checks if this agent is used when a property "cq:distribute" has been modified.
|
boolean |
isTriggeredOnModification()
Checks if this agent is used for "replicate on modification".
|
boolean |
isTriggeredOnOffTime()
Checks if this agent is used for "replicate if on-/offtime reached".
|
boolean |
isTriggeredOnReceive()
Determines if a replication with this agent should be triggered once the replication request is received.
|
boolean |
noStatusUpdate()
Determines if a replication with this agent should suppress update of the replication status.
|
boolean |
noVersions()
Determines if a replication with this agent should suppress implicit versioning.
|
boolean |
usedForReverseReplication()
Checks if this agent is used for reverse replication.
|
static final String AGENT_NAME
static final String AGENT_DESCRIPTION
static final String AGENT_ENABLED
static final String AGENT_LOG_LEVEL
static final String AGENT_USER_ID
static final String TRIGGER_SPECIFIC
static final String TRIGGER_MODIFIED
static final String TRIGGER_ONOFFTIME
static final String TRIGGER_DISTRIBUTE
static final String REVERSE_REPLICATION
static final String TRIGGER_RECEIVE
static final String QUEUE_RETRY_DELAY
static final String QUEUE_BATCH_MODE
static final String QUEUE_BATCH_WAIT_TIME
static final String QUEUE_BATCH_MAX_SIZE
@Deprecated static final String QUEUE_MAX_RETRIES
static final String SERIALIZATION_TYPE
static final String TRANSPORT_URI
static final String TRANSPORT_USER
static final String TRANSPORT_PASSWORD
static final String TRANSPORT_NTLM_DOMAIN
static final String TRANSPORT_NTLM_HOST
static final String PROTOCOL_VERSION
static final String PROTOCOL_CONNECT_TIMEOUT
static final String PROTOCOL_INTERFACE
static final String PROTOCOL_SOCKET_TIMEOUT
static final String PROXY_HOST
static final String PROXY_PORT
static final String PROXY_USER
static final String PROXY_PASS
static final String PROXY_NTLM_DOMAIN
static final String PROXY_NTLM_HOST
static final String PROTOCOL_HTTP_HEADERS
static final String PROTOCOL_HTTP_METHOD
static final String PROTOCOL_HTTP_CONNECTION_CLOSE
static final String PROTOCOL_HTTPS_RELAXED
static final String PROTOCOL_HTTPS_EXPIRED
static final String ENABLE_OAUTH
static final String ACCESS_TOKEN_PROVIDER_PID
static final String SSL_CONFIG
static final String SSL_CONFIG_DEFAULT
static final String SSL_CONFIG_RELAXED
static final String SSL_CONFIG_CLIENT_AUTH
static final String CQ_DISTRIBUTE
static final String AGENT_NO_VERSIONS
static final String AGENT_NO_STATUS_UPDATE
static final String AGENT_MAINTENANCE
static final String AGENT_ALIAS_UPDATE
void checkValid()
IllegalArgumentException
- if not valid.String getId()
String getAgentId()
String getConfigPath()
null
is returned.null
String getName()
AGENT_NAME
AgentConfigGroup getConfigGroup()
String getTransportURI()
TRANSPORT_URI
.String[] getAllTransportURIs()
TRANSPORT_URI
as a comma separated list.String getTransportUser()
TRANSPORT_USER
.String getTransportPassword()
TRANSPORT_PASSWORD
.String getSerializationType()
ContentBuilder
with this name must be registered. This is a convenience
method and returns the property SERIALIZATION_TYPE
.String getAgentUserId()
AGENT_USER_ID
.null
long getRetryDelay()
QUEUE_RETRY_DELAY
.boolean isEnabled()
AGENT_ENABLED
.true
if this agent is enabledString getLogLevel()
AGENT_LOG_LEVEL
.@Deprecated int getMaxRetries()
QUEUE_MAX_RETRIES
.boolean isBatchMode()
long getBatchWaitTime()
long getBatchMaxSize()
boolean isSpecific()
TRIGGER_SPECIFIC
.true
if agent is specificboolean isTriggeredOnModification()
true
each modification to the content will
trigger a replication action on this agent. This is a convenience method and returns the property TRIGGER_MODIFIED
.true
if this agent auto replicates on modification.boolean isTriggeredOnOffTime()
true
any content that reached an
on-/offtime boundary will trigger a replication action on this agent. This is a convenience method and returns the property TRIGGER_ONOFFTIME
.true
if this agent auto replicates when on-/offtime reachedboolean isTriggeredOnDistribute()
TRIGGER_DISTRIBUTE
.true
if this agent replicates on this property changeboolean usedForReverseReplication()
REVERSE_REPLICATION
.true
if this agent is used for reverse replication.boolean noVersions()
Determines if a replication with this agent should suppress implicit versioning. If all participating agents of a replication specify this flag, the respective flags are set in the replication options passed to the preprocessors.
This is a convenience method and returns the property AGENT_NO_VERSIONS
.
true
if a replication with this agent should not trigger implicit versioning.boolean noStatusUpdate()
Determines if a replication with this agent should suppress update of the replication status. If all participating agents of a replication specify this flag, the replication status is not updated after a replication.
This is a convenience method and returns the property AGENT_NO_STATUS_UPDATE
.
true
if a replication with this agent should not update the replication status.ValueMap getProperties()
boolean isTriggeredOnReceive()
true
if the agent should be triggered once replication is receivedboolean isInMaintenanceMode()
AGENT_MAINTENANCE
.true
if this agent is in maintenance modeboolean aliasUpdate()
true
if agent should handle replication for aliases, vanity URLsString getSSLConfig()
SSL_CONFIG
boolean allowsExpiredCertificates()
true
if the agent accepts expired certificates, false
otherwiseboolean isOAuthEnabled()
ENABLE_OAUTH
true
if the authorization grants mechanism is enabled"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"