org.apache.continuum.xmlrpc.repository
Class AbstractPurgeConfiguration

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

public class AbstractPurgeConfiguration
extends Object
implements Serializable

Class AbstractPurgeConfiguration.

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

Constructor Summary
AbstractPurgeConfiguration()
           
 
Method Summary
 boolean equals(Object other)
          Method equals.
 int getDaysOlder()
          Get the number of days old which will be the basis for removing a snapshot or a folder.
 String getDescription()
          Get the description field.
 int getId()
          Get the id field.
 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(String description)
          Set the description field.
 void setEnabled(boolean enabled)
          Set the enabled field.
 void setId(int id)
          Set the id field.
 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.
 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(Object other)
Method equals.

Overrides:
equals in class 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 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 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(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 String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


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