Enum Class SSHAuthenticator.Mode
java.lang.Object
java.lang.Enum<SSHAuthenticator.Mode>
com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.Mode
- All Implemented Interfaces:
Serializable
,Comparable<SSHAuthenticator.Mode>
,Constable
- Enclosing class:
- SSHAuthenticator<C,
U extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials>
Reflects the different styles of applying authentication.
- Since:
- 0.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThisSSHAuthenticator
performs authentication after establishing the connection.ThisSSHAuthenticator
performs authentication before establishing the connection. -
Method Summary
Modifier and TypeMethodDescriptionstatic SSHAuthenticator.Mode
Returns the enum constant of this class with the specified name.static SSHAuthenticator.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE_CONNECT
ThisSSHAuthenticator
performs authentication before establishing the connection. -
AFTER_CONNECT
ThisSSHAuthenticator
performs authentication after establishing the connection.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-