com.day.cq.replication
Interface SyndicationAgentConfig

All Known Implementing Classes:
SyndicationAgentConfigImpl

public interface SyndicationAgentConfig

The configuration of a syndication agent.


Nested Class Summary
static class SyndicationAgentConfig.SyndicationAgentStatus
          The status of a syndication agent.
 
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.
 

Method Detail

getTransportType

String getTransportType()
The name of the transport type. A corresponding TransportHandler with this name must be registered.


getTransportHostname

String getTransportHostname()
The target host for delivering the content.


getTransportPort

int getTransportPort()
The target port for delivering the content.


getTransportUser

String getTransportUser()
The target user name for delivering the content.


getTransportPassword

String getTransportPassword()
The target user password for delivering the content.


getTransportSpecific

String[] getTransportSpecific()
Transport specific properties used by the TransportHandler


getSerializationType

String getSerializationType()
The name of the serialization type. A corresponding ContentBuilder with this name must be registered.


getName

String getName()
The unique name of this syndication agent.


getRetryDelay

long getRetryDelay()
The retry delay in milliseconds.


getStatus

SyndicationAgentConfig.SyndicationAgentStatus getStatus()
The status - either enabled or disabled.


getLogLevel

String getLogLevel()
The current log level - DEBUG, INFO, or ERROR.


getRetries

int getRetries()
The number of retries before the syndication is cancelled.

Returns:
The number of retries or -1 for endless retries.

isSpecific

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.



Copyright © 2008 Day Management AG. All Rights Reserved.