public static enum SSHKeyCredential.PRIVATE_KEY_TYPES extends Enum<SSHKeyCredential.PRIVATE_KEY_TYPES>
Enum Constant and Description |
---|
DIRECT_ENTRY
Plain text
|
FILE_ON_MASTER
A file path on the master node
|
USERS_PRIVATE_KEY
From the Jenkins master ~/.ssh
|
Modifier and Type | Method and Description |
---|---|
String |
getTypeClass() |
int |
getTypeValue() |
static SSHKeyCredential.PRIVATE_KEY_TYPES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSHKeyCredential.PRIVATE_KEY_TYPES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSHKeyCredential.PRIVATE_KEY_TYPES DIRECT_ENTRY
public static final SSHKeyCredential.PRIVATE_KEY_TYPES FILE_ON_MASTER
public static final SSHKeyCredential.PRIVATE_KEY_TYPES USERS_PRIVATE_KEY
public static SSHKeyCredential.PRIVATE_KEY_TYPES[] values()
for (SSHKeyCredential.PRIVATE_KEY_TYPES c : SSHKeyCredential.PRIVATE_KEY_TYPES.values()) System.out.println(c);
public static SSHKeyCredential.PRIVATE_KEY_TYPES valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getTypeClass()
public int getTypeValue()
Copyright © 2017 JBoss by Red Hat. All rights reserved.