org.apache.continuum.xmlrpc.repository
Class AbstractPurgeConfiguration

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

public class AbstractPurgeConfiguration
extends java.lang.Object
implements java.io.Serializable

Class AbstractPurgeConfiguration.

See Also:
Serialized Form

Constructor Summary
AbstractPurgeConfiguration()
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Method equals.
 int getDaysOlder()
          Get The number of days old which will be the basis for removing a snapshot or a folder.
 java.lang.String getDescription()
          Get the description field.
 int getId()
          Get the id field.
 java.lang.String getModelEncoding()
           
 int getRetentionCount()
          Get The total count of the artifact for each snapshot or the release/build output folder to be retained.
 Schedule getSchedule()
          Get the schedule field.
 int hashCode()
          Method hashCode.
 boolean isDefaultPurge()
          Get the defaultPurge field.
 boolean isDeleteAll()
          Get the deleteAll field.
 boolean isEnabled()
          Get the enabled field.
 void setDaysOlder(int daysOlder)
          Set The number of days old which will be the basis for removing a snapshot or a folder.
 void setDefaultPurge(boolean defaultPurge)
          Set the defaultPurge field.
 void setDeleteAll(boolean deleteAll)
          Set the deleteAll field.
 void setDescription(java.lang.String description)
          Set the description field.
 void setEnabled(boolean enabled)
          Set the enabled field.
 void setId(int id)
          Set the id field.
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setRetentionCount(int retentionCount)
          Set The total count of the artifact for each snapshot or the release/build output folder to be retained.
 void setSchedule(Schedule schedule)
          Set the schedule field.
 java.lang.String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractPurgeConfiguration

public AbstractPurgeConfiguration()
Method Detail

equals

public boolean equals(java.lang.Object other)
Method equals.

Overrides:
equals in class java.lang.Object
Parameters:
other -
Returns:
boolean

getDaysOlder

public int getDaysOlder()
Get The number of days old which will be the basis for removing a snapshot or a folder.

Returns:
int

getDescription

public java.lang.String getDescription()
Get the description field.

Returns:
String

getId

public int getId()
Get the id field.

Returns:
int

getRetentionCount

public int getRetentionCount()
Get The total count of the artifact for each snapshot or the release/build output folder to be retained.

Returns:
int

getSchedule

public Schedule getSchedule()
Get the schedule field.

Returns:
Schedule

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class java.lang.Object
Returns:
int

isDefaultPurge

public boolean isDefaultPurge()
Get the defaultPurge field.

Returns:
boolean

isDeleteAll

public boolean isDeleteAll()
Get the deleteAll field.

Returns:
boolean

isEnabled

public boolean isEnabled()
Get the enabled field.

Returns:
boolean

setDaysOlder

public void setDaysOlder(int daysOlder)
Set The number of days old which will be the basis for removing a snapshot or a folder.

Parameters:
daysOlder -

setDefaultPurge

public void setDefaultPurge(boolean defaultPurge)
Set the defaultPurge field.

Parameters:
defaultPurge -

setDeleteAll

public void setDeleteAll(boolean deleteAll)
Set the deleteAll field.

Parameters:
deleteAll -

setDescription

public void setDescription(java.lang.String description)
Set the description field.

Parameters:
description -

setEnabled

public void setEnabled(boolean enabled)
Set the enabled field.

Parameters:
enabled -

setId

public void setId(int id)
Set the id field.

Parameters:
id -

setRetentionCount

public void setRetentionCount(int retentionCount)
Set The total count of the artifact for each snapshot or the release/build output folder to be retained.

Parameters:
retentionCount -

setSchedule

public void setSchedule(Schedule schedule)
Set the schedule field.

Parameters:
schedule -

toString

public java.lang.String toString()
Method toString.

Overrides:
toString in class java.lang.Object
Returns:
java.lang.String

setModelEncoding

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

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

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