Enum ActivityCategory
- java.lang.Object
-
- java.lang.Enum<ActivityCategory>
-
- io.jenkins.plugins.devopsportal.models.ActivityCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityCategory>
public enum ActivityCategory extends Enum<ActivityCategory>
List of all BUILD activities.- Author:
- RĂ©mi BELLO <remi@evolya.fr>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARTIFACT_RELEASE
BUILD
DEPENDENCIES_ANALYSIS
PERFORMANCE_TEST
QUALITY_AUDIT
UNIT_TEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends AbstractActivity>
getClazz()
static ActivityCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILD
public static final ActivityCategory BUILD
-
UNIT_TEST
public static final ActivityCategory UNIT_TEST
-
QUALITY_AUDIT
public static final ActivityCategory QUALITY_AUDIT
-
DEPENDENCIES_ANALYSIS
public static final ActivityCategory DEPENDENCIES_ANALYSIS
-
PERFORMANCE_TEST
public static final ActivityCategory PERFORMANCE_TEST
-
ARTIFACT_RELEASE
public static final ActivityCategory ARTIFACT_RELEASE
-
-
Method Detail
-
values
public static ActivityCategory[] 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 (ActivityCategory c : ActivityCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityCategory 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
-
getClazz
public Class<? extends AbstractActivity> getClazz()
-
-