Package com.atlassian.bamboo.persister
Enum AuditLogEntityType
- java.lang.Object
-
- java.lang.Enum<AuditLogEntityType>
-
- com.atlassian.bamboo.persister.AuditLogEntityType
-
- All Implemented Interfaces:
Serializable
,Comparable<AuditLogEntityType>
public enum AuditLogEntityType extends Enum<AuditLogEntityType>
Represent "plan items" we track in the audit logs.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPLOYMENT_PROJECT
IMAGE_CONFIG
PLAN
PROJECT
REPOSITORY
STAGE
TASK
TRIGGER
VARIABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @Nullable AuditLogEntityType
getInstance(String name)
Returns the appropriate enum value from the given type stringString
toString()
static AuditLogEntityType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuditLogEntityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK
public static final AuditLogEntityType TASK
-
STAGE
public static final AuditLogEntityType STAGE
-
REPOSITORY
public static final AuditLogEntityType REPOSITORY
-
VARIABLE
public static final AuditLogEntityType VARIABLE
-
TRIGGER
public static final AuditLogEntityType TRIGGER
-
IMAGE_CONFIG
public static final AuditLogEntityType IMAGE_CONFIG
-
PLAN
public static final AuditLogEntityType PLAN
-
DEPLOYMENT_PROJECT
public static final AuditLogEntityType DEPLOYMENT_PROJECT
-
PROJECT
public static final AuditLogEntityType PROJECT
-
-
Method Detail
-
values
public static AuditLogEntityType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuditLogEntityType c : AuditLogEntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditLogEntityType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<AuditLogEntityType>
-
getInstance
@Nullable public static @Nullable AuditLogEntityType getInstance(String name)
Returns the appropriate enum value from the given type string
-
-