Package com.atlassian.bamboo.build.test
Class QuarantineConfiguration
- java.lang.Object
-
- com.atlassian.bamboo.build.test.QuarantineConfiguration
-
- All Implemented Interfaces:
Serializable
public class QuarantineConfiguration extends Object implements Serializable
Global quarantine settings.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CRON_EXPRESSION
static org.joda.time.Period
DEFAULT_EXPIRY_PERIOD
static String
EXPIRY_PERIOD_DAYS
static String
EXPIRY_PERIOD_MONTHS
static String
EXPIRY_PERIOD_WEEKS
-
Constructor Summary
Constructors Constructor Description QuarantineConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getCronExpression()
org.joda.time.Period
getExpiryPeriod()
boolean
isEnabled()
boolean
isExpiryOverridable()
void
setCronExpression(String cronExpression)
void
setEnabled(boolean enabled)
void
setExpiryOverridable(boolean expiryOverridable)
void
setExpiryPeriod(org.joda.time.Period expiryPeriod)
String
toString()
-
-
-
Field Detail
-
DEFAULT_EXPIRY_PERIOD
public static final org.joda.time.Period DEFAULT_EXPIRY_PERIOD
-
DEFAULT_CRON_EXPRESSION
public static final String DEFAULT_CRON_EXPRESSION
- See Also:
- Constant Field Values
-
EXPIRY_PERIOD_DAYS
public static final String EXPIRY_PERIOD_DAYS
- See Also:
- Constant Field Values
-
EXPIRY_PERIOD_WEEKS
public static final String EXPIRY_PERIOD_WEEKS
- See Also:
- Constant Field Values
-
EXPIRY_PERIOD_MONTHS
public static final String EXPIRY_PERIOD_MONTHS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getExpiryPeriod
public org.joda.time.Period getExpiryPeriod()
-
setExpiryPeriod
public void setExpiryPeriod(org.joda.time.Period expiryPeriod)
-
isExpiryOverridable
public boolean isExpiryOverridable()
-
setExpiryOverridable
public void setExpiryOverridable(boolean expiryOverridable)
-
getCronExpression
@NotNull public @NotNull String getCronExpression()
-
setCronExpression
public void setCronExpression(String cronExpression)
-
-