public static enum ShareServerSecretPlugin.Property extends Enum<ShareServerSecretPlugin.Property>
| Enum Constant and Description |
|---|
passphrase |
password |
privateKey |
username |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getSecret(org.apache.maven.settings.Server server) |
static ShareServerSecretPlugin.Property |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareServerSecretPlugin.Property[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareServerSecretPlugin.Property username
public static final ShareServerSecretPlugin.Property password
public static final ShareServerSecretPlugin.Property passphrase
public static final ShareServerSecretPlugin.Property privateKey
public static ShareServerSecretPlugin.Property[] values()
for (ShareServerSecretPlugin.Property c : ShareServerSecretPlugin.Property.values()) System.out.println(c);
public static ShareServerSecretPlugin.Property 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 abstract String getSecret(org.apache.maven.settings.Server server)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.