public enum PasswordSaveOption extends Enum<PasswordSaveOption>
Specifies the password save option.
Enum Constant and Description |
---|
NONE
Default password.
|
SOURCE
Source password.
|
TARGET
Target password.
|
USER
The user password.
|
Modifier and Type | Method and Description |
---|---|
static PasswordSaveOption |
fromString(String toStringValue) |
String |
toString() |
static PasswordSaveOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordSaveOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordSaveOption NONE
Default password.
public static final PasswordSaveOption SOURCE
Source password.
public static final PasswordSaveOption TARGET
Target password.
public static final PasswordSaveOption USER
The user password.
public static PasswordSaveOption fromString(String toStringValue)
public String toString()
toString
in class Enum<PasswordSaveOption>
public static PasswordSaveOption 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 static PasswordSaveOption[] values()
for (PasswordSaveOption c : PasswordSaveOption.values()) System.out.println(c);
Copyright © 2023. All rights reserved.