Enum ObjectType
- java.lang.Object
-
- java.lang.Enum<ObjectType>
-
- jetbrains.buildServer.serverSide.audit.ObjectType
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectType>
,ObjectTypeHelper
public enum ObjectType extends Enum<ObjectType> implements ObjectTypeHelper
Represents the types of the objects forActionType
- Author:
- Maxim.Manuylov Date: 27.04.2009
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
String
getLinkPage()
String
getLog4jDescription(Object object)
String
getLog4jDescriptionById(String objectId)
String
getObjectExternalId(Object object)
String
getObjectId(Object object)
String
getObjectName(Object object)
static ObjectType
getObjectTypeById(int id)
boolean
objectWasRenamed(Object object, String oldName)
static ObjectType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObjectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_OBJECT
public static final ObjectType UNKNOWN_OBJECT
-
BUILD
public static final ObjectType BUILD
-
BUILD_TYPE
public static final ObjectType BUILD_TYPE
-
AGENT
public static final ObjectType AGENT
-
USER
public static final ObjectType USER
-
PROJECT
public static final ObjectType PROJECT
-
VCS_ROOT
public static final ObjectType VCS_ROOT
-
SERVER
public static final ObjectType SERVER
-
BUILD_PROMOTION
public static final ObjectType BUILD_PROMOTION
-
USER_GROUP
public static final ObjectType USER_GROUP
-
USER_ROLE
public static final ObjectType USER_ROLE
-
BUILD_TYPE_TEMPLATE
public static final ObjectType BUILD_TYPE_TEMPLATE
-
STRING
public static final ObjectType STRING
-
CONFIG_MODIFICATION
public static final ObjectType CONFIG_MODIFICATION
-
TEST
public static final ObjectType TEST
-
AGENT_TYPE
public static final ObjectType AGENT_TYPE
-
AGENT_POOL
public static final ObjectType AGENT_POOL
-
BUILD_PROBLEM
public static final ObjectType BUILD_PROBLEM
-
HEALTH_STATUS_ITEM
public static final ObjectType HEALTH_STATUS_ITEM
-
RUN_TYPE
public static final ObjectType RUN_TYPE
-
TOOL
public static final ObjectType TOOL
-
VCS_MODIFICATION
public static final ObjectType VCS_MODIFICATION
-
NODE_RESPONSIBILITY
public static final ObjectType NODE_RESPONSIBILITY
-
TEAMCITY_NODE
public static final ObjectType TEAMCITY_NODE
-
AUTHENTICATION_TOKEN
public static final ObjectType AUTHENTICATION_TOKEN
-
-
Method Detail
-
values
public static ObjectType[] 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 (ObjectType c : ObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectType 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
-
getLinkPage
@NotNull public String getLinkPage()
-
getId
public int getId()
-
getLog4jDescription
@NotNull public String getLog4jDescription(@NotNull Object object)
- Specified by:
getLog4jDescription
in interfaceObjectTypeHelper
-
getObjectId
@NotNull public String getObjectId(@NotNull Object object)
- Specified by:
getObjectId
in interfaceObjectTypeHelper
-
getObjectExternalId
@NotNull public String getObjectExternalId(@NotNull Object object)
- Specified by:
getObjectExternalId
in interfaceObjectTypeHelper
-
getObjectName
@NotNull public String getObjectName(@NotNull Object object)
- Specified by:
getObjectName
in interfaceObjectTypeHelper
-
objectWasRenamed
public boolean objectWasRenamed(@NotNull Object object, @NotNull String oldName)
- Specified by:
objectWasRenamed
in interfaceObjectTypeHelper
-
getObjectTypeById
@NotNull public static ObjectType getObjectTypeById(int id)
-
-