public static enum PropertyProviders.ConsoleProvider extends Enum<PropertyProviders.ConsoleProvider>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
forBoolean(String name,
String prompt,
boolean defaultValue) |
String |
forString(String name,
String prompt,
List<String> availableValues,
String defaultValue,
PropertyProviders.IValidator<String> validator) |
String |
forString(String name,
String prompt,
String defaultValue,
PropertyProviders.IValidator<String> validator) |
static PropertyProviders.ConsoleProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyProviders.ConsoleProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyProviders.ConsoleProvider INSTANCE
public static PropertyProviders.ConsoleProvider[] values()
for (PropertyProviders.ConsoleProvider c : PropertyProviders.ConsoleProvider.values()) System.out.println(c);
public static PropertyProviders.ConsoleProvider 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 forString(String name, String prompt, String defaultValue, PropertyProviders.IValidator<String> validator)
Copyright © 2022 Unidal Organization. All rights reserved.