Enum AgreementType
- java.lang.Object
-
- java.lang.Enum<AgreementType>
-
- jetbrains.buildServer.controllers.license.AgreementType
-
- All Implemented Interfaces:
Serializable
,Comparable<AgreementType>
public enum AgreementType extends Enum<AgreementType>
- Author:
- Pavel.Sher Date: 28.03.2007
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACADEMIC
CLASSROOM
COMMERCIAL
EAP
OPEN_SOURCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AgreementType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AgreementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMERCIAL
public static final AgreementType COMMERCIAL
-
OPEN_SOURCE
public static final AgreementType OPEN_SOURCE
-
ACADEMIC
public static final AgreementType ACADEMIC
-
CLASSROOM
public static final AgreementType CLASSROOM
-
EAP
public static final AgreementType EAP
-
-
Method Detail
-
values
public static AgreementType[] 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 (AgreementType c : AgreementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgreementType 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
-
-