org.apache.continuum.xmlrpc.repository
Class RepositoryPurgeConfiguration

Package class diagram package RepositoryPurgeConfiguration
java.lang.Object
  extended by org.apache.continuum.xmlrpc.repository.AbstractPurgeConfiguration
      extended by org.apache.continuum.xmlrpc.repository.RepositoryPurgeConfiguration
All Implemented Interfaces:
java.io.Serializable

public class RepositoryPurgeConfiguration
extends AbstractPurgeConfiguration
implements java.io.Serializable

Class RepositoryPurgeConfiguration.

See Also:
Serialized Form

Constructor Summary
RepositoryPurgeConfiguration()
           
 
Method Summary
 java.lang.String getModelEncoding()
           
 LocalRepository getRepository()
          Get the repository field.
 boolean isDeleteReleasedSnapshots()
          Get True if the released snapshots are to be removed from the repo during repository purge.
 void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
          Set True if the released snapshots are to be removed from the repo during repository purge.
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setRepository(LocalRepository repository)
          Set the repository field.
 
Methods inherited from class org.apache.continuum.xmlrpc.repository.AbstractPurgeConfiguration
equals, getDaysOlder, getDescription, getId, getRetentionCount, getSchedule, hashCode, isDefaultPurge, isDeleteAll, isEnabled, setDaysOlder, setDefaultPurge, setDeleteAll, setDescription, setEnabled, setId, setRetentionCount, setSchedule, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryPurgeConfiguration

public RepositoryPurgeConfiguration()
Method Detail

getRepository

public LocalRepository getRepository()
Get the repository field.

Returns:
LocalRepository

isDeleteReleasedSnapshots

public boolean isDeleteReleasedSnapshots()
Get True if the released snapshots are to be removed from the repo during repository purge.

Returns:
boolean

setDeleteReleasedSnapshots

public void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
Set True if the released snapshots are to be removed from the repo during repository purge.

Parameters:
deleteReleasedSnapshots -

setRepository

public void setRepository(LocalRepository repository)
Set the repository field.

Parameters:
repository -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Overrides:
setModelEncoding in class AbstractPurgeConfiguration
Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class AbstractPurgeConfiguration
Returns:
the current encoding used when reading/writing this model.