com.day.cq.replication.impl
Class SyndicationAgentConfigImpl

java.lang.Object
  extended by com.day.cq.replication.impl.SyndicationAgentConfigImpl
All Implemented Interfaces:
SyndicationAgentConfig

public class SyndicationAgentConfigImpl
extends Object
implements SyndicationAgentConfig

The configuration of a syndication agent.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.day.cq.replication.SyndicationAgentConfig
SyndicationAgentConfig.SyndicationAgentStatus
 
Field Summary
protected static boolean DEFAULT_IS_SPECIFIC
          default value for isSpecific
protected static String DEFAULT_LOG_LEVEL
           
protected static int DEFAULT_RETRIES
          default number of retries.
protected static int DEFAULT_RETRY_DELAY
          default delay for retry
protected static String DEFAULT_STATUS
           
protected static String PROPERTY_IS_SPECIFIC
           
protected static String PROPERTY_LOG_LEVEL
           
protected static String PROPERTY_NAME
           
protected static String PROPERTY_RETRIES
           
protected static String PROPERTY_RETRY_DELAY
           
protected static String PROPERTY_SERIALIZATION_TYPE
           
protected static String PROPERTY_STATUS
           
protected static String PROPERTY_TRANSPORT_HOSTNAME
           
protected static String PROPERTY_TRANSPORT_PASSWORD
           
protected static String PROPERTY_TRANSPORT_PORT
           
protected static String PROPERTY_TRANSPORT_SPECIFIC
           
protected static String PROPERTY_TRANSPORT_TYPE
           
protected static String PROPERTY_TRANSPORT_USER
           
 
Constructor Summary
SyndicationAgentConfigImpl(Map<String,Object> props)
           
 
Method Summary
 String getLogLevel()
          The current log level - DEBUG, INFO, or ERROR.
 String getName()
          The unique name of this syndication agent.
 int getRetries()
          The number of retries before the syndication is cancelled.
 long getRetryDelay()
          The retry delay in milliseconds.
 String getSerializationType()
          The name of the serialization type.
 SyndicationAgentConfig.SyndicationAgentStatus getStatus()
          The status - either enabled or disabled.
 String getTransportHostname()
          The target host for delivering the content.
 String getTransportPassword()
          The target user password for delivering the content.
 int getTransportPort()
          The target port for delivering the content.
 String[] getTransportSpecific()
          Transport specific properties used by the TransportHandler
 String getTransportType()
          The name of the transport type.
 String getTransportUser()
          The target user name for delivering the content.
 boolean isSpecific()
          Is this a specific agent? Specific agents are used by the application for special application specific replications and are not used during a general replication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NAME

protected static final String PROPERTY_NAME
See Also:
Constant Field Values

PROPERTY_TRANSPORT_USER

protected static final String PROPERTY_TRANSPORT_USER
See Also:
Constant Field Values

PROPERTY_TRANSPORT_PASSWORD

protected static final String PROPERTY_TRANSPORT_PASSWORD
See Also:
Constant Field Values

PROPERTY_TRANSPORT_TYPE

protected static final String PROPERTY_TRANSPORT_TYPE
See Also:
Constant Field Values

PROPERTY_TRANSPORT_SPECIFIC

protected static final String PROPERTY_TRANSPORT_SPECIFIC
See Also:
Constant Field Values

PROPERTY_TRANSPORT_HOSTNAME

protected static final String PROPERTY_TRANSPORT_HOSTNAME
See Also:
Constant Field Values

PROPERTY_TRANSPORT_PORT

protected static final String PROPERTY_TRANSPORT_PORT
See Also:
Constant Field Values

PROPERTY_STATUS

protected static final String PROPERTY_STATUS
See Also:
Constant Field Values

PROPERTY_SERIALIZATION_TYPE

protected static final String PROPERTY_SERIALIZATION_TYPE
See Also:
Constant Field Values

PROPERTY_RETRY_DELAY

protected static final String PROPERTY_RETRY_DELAY
See Also:
Constant Field Values

PROPERTY_IS_SPECIFIC

protected static final String PROPERTY_IS_SPECIFIC
See Also:
Constant Field Values

PROPERTY_RETRIES

protected static final String PROPERTY_RETRIES
See Also:
Constant Field Values

PROPERTY_LOG_LEVEL

protected static final String PROPERTY_LOG_LEVEL
See Also:
Constant Field Values

DEFAULT_RETRY_DELAY

protected static final int DEFAULT_RETRY_DELAY
default delay for retry

See Also:
Constant Field Values

DEFAULT_RETRIES

protected static final int DEFAULT_RETRIES
default number of retries.

See Also:
Constant Field Values

DEFAULT_IS_SPECIFIC

protected static final boolean DEFAULT_IS_SPECIFIC
default value for isSpecific

See Also:
Constant Field Values

DEFAULT_LOG_LEVEL

protected static final String DEFAULT_LOG_LEVEL
See Also:
Constant Field Values

DEFAULT_STATUS

protected static final String DEFAULT_STATUS
See Also:
Constant Field Values
Constructor Detail

SyndicationAgentConfigImpl

public SyndicationAgentConfigImpl(Map<String,Object> props)
Method Detail

getTransportType

public String getTransportType()
Description copied from interface: SyndicationAgentConfig
The name of the transport type. A corresponding TransportHandler with this name must be registered.

Specified by:
getTransportType in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getTransportType()

getTransportHostname

public String getTransportHostname()
Description copied from interface: SyndicationAgentConfig
The target host for delivering the content.

Specified by:
getTransportHostname in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getTransportHostname()

getTransportPort

public int getTransportPort()
Description copied from interface: SyndicationAgentConfig
The target port for delivering the content.

Specified by:
getTransportPort in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getTransportPort()

getTransportUser

public String getTransportUser()
Description copied from interface: SyndicationAgentConfig
The target user name for delivering the content.

Specified by:
getTransportUser in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getTransportUser()

getTransportPassword

public String getTransportPassword()
Description copied from interface: SyndicationAgentConfig
The target user password for delivering the content.

Specified by:
getTransportPassword in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getTransportPassword()

getTransportSpecific

public String[] getTransportSpecific()
Description copied from interface: SyndicationAgentConfig
Transport specific properties used by the TransportHandler

Specified by:
getTransportSpecific in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getTransportSpecific()

getSerializationType

public String getSerializationType()
Description copied from interface: SyndicationAgentConfig
The name of the serialization type. A corresponding ContentBuilder with this name must be registered.

Specified by:
getSerializationType in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getSerializationType()

getName

public String getName()
Description copied from interface: SyndicationAgentConfig
The unique name of this syndication agent.

Specified by:
getName in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getName()

getRetryDelay

public long getRetryDelay()
Description copied from interface: SyndicationAgentConfig
The retry delay in milliseconds.

Specified by:
getRetryDelay in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getRetryDelay()

getStatus

public SyndicationAgentConfig.SyndicationAgentStatus getStatus()
Description copied from interface: SyndicationAgentConfig
The status - either enabled or disabled.

Specified by:
getStatus in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getStatus()

getLogLevel

public String getLogLevel()
Description copied from interface: SyndicationAgentConfig
The current log level - DEBUG, INFO, or ERROR.

Specified by:
getLogLevel in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.getLogLevel()

getRetries

public int getRetries()
Description copied from interface: SyndicationAgentConfig
The number of retries before the syndication is cancelled.

Specified by:
getRetries in interface SyndicationAgentConfig
Returns:
The number of retries or -1 for endless retries.
See Also:
SyndicationAgentConfig.getRetries()

isSpecific

public boolean isSpecific()
Description copied from interface: SyndicationAgentConfig
Is this a specific agent? Specific agents are used by the application for special application specific replications and are not used during a general replication.

Specified by:
isSpecific in interface SyndicationAgentConfig
See Also:
SyndicationAgentConfig.isSpecific()


Copyright © 2008 Day Management AG. All Rights Reserved.