org.apache.archiva.configuration
Class SyncConnectorConfiguration

java.lang.Object
  extended by org.apache.archiva.configuration.AbstractRepositoryConnectorConfiguration
      extended by org.apache.archiva.configuration.SyncConnectorConfiguration
All Implemented Interfaces:
Serializable

public class SyncConnectorConfiguration
extends AbstractRepositoryConnectorConfiguration
implements Serializable

Class SyncConnectorConfiguration.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  String cronExpression
          When to run the sync mechanism.
private  String method
          The type of synchronization to use.
 
Constructor Summary
SyncConnectorConfiguration()
           
 
Method Summary
 String getCronExpression()
          Get when to run the sync mechanism.
 String getMethod()
          Get the type of synchronization to use.
 void setCronExpression(String cronExpression)
          Set when to run the sync mechanism.
 void setMethod(String method)
          Set the type of synchronization to use.
 
Methods inherited from class org.apache.archiva.configuration.AbstractRepositoryConnectorConfiguration
addBlackListPattern, addPolicy, addProperty, addWhiteListPattern, getBlackListPatterns, getPolicies, getPolicy, getProperties, getProxyId, getSourceRepoId, getTargetRepoId, getWhiteListPatterns, isDisabled, removeBlackListPattern, removeWhiteListPattern, setBlackListPatterns, setDisabled, setPolicies, setProperties, setProxyId, setSourceRepoId, setTargetRepoId, setWhiteListPatterns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cronExpression

private String cronExpression
When to run the sync mechanism. Default is every hour on the hour.


method

private String method
The type of synchronization to use.

Constructor Detail

SyncConnectorConfiguration

public SyncConnectorConfiguration()
Method Detail

getCronExpression

public String getCronExpression()
Get when to run the sync mechanism. Default is every hour on the hour.

Returns:
String

getMethod

public String getMethod()
Get the type of synchronization to use.

Returns:
String

setCronExpression

public void setCronExpression(String cronExpression)
Set when to run the sync mechanism. Default is every hour on the hour.

Parameters:
cronExpression -

setMethod

public void setMethod(String method)
Set the type of synchronization to use.

Parameters:
method -


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.