Class ManualEncryptionConfiguration
- java.lang.Object
-
- com.atlassian.bamboo.configuration.ManualEncryptionConfiguration
-
- All Implemented Interfaces:
Serializable
@Immutable public class ManualEncryptionConfiguration extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TimeUnit
DEFAULT_LIMIT_UNIT
-
Constructor Summary
Constructors Constructor Description ManualEncryptionConfiguration()
ManualEncryptionConfiguration(boolean enabled, int limit, TimeUnit limitUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getLimit()
TimeUnit
getLimitUnit()
int
hashCode()
boolean
isEnabled()
String
toString()
-
-
-
Field Detail
-
DEFAULT_LIMIT_UNIT
public static final TimeUnit DEFAULT_LIMIT_UNIT
-
-
Constructor Detail
-
ManualEncryptionConfiguration
public ManualEncryptionConfiguration()
-
ManualEncryptionConfiguration
public ManualEncryptionConfiguration(boolean enabled, int limit, TimeUnit limitUnit)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Returns:
- true if feature is enabled
-
getLimit
public int getLimit()
- Returns:
- the limit of invocations of manual encryption in the given
unit of time
-
getLimitUnit
public TimeUnit getLimitUnit()
- Returns:
- the time unit within which the number of manual encryption invocations are limited
-
-