Package org.jenkinsci.plugins.p4.client
Enum AuthorisationType
- java.lang.Object
-
- java.lang.Enum<AuthorisationType>
-
- org.jenkinsci.plugins.p4.client.AuthorisationType
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthorisationType>
public enum AuthorisationType extends Enum<AuthorisationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PASSWORD
TICKET
TICKETPATH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorisationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthorisationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD
public static final AuthorisationType PASSWORD
-
TICKET
public static final AuthorisationType TICKET
-
TICKETPATH
public static final AuthorisationType TICKETPATH
-
-
Method Detail
-
values
public static AuthorisationType[] 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 (AuthorisationType c : AuthorisationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorisationType 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
-
-