public class PromptSecretProvider extends java.lang.Object implements ValueFactory<SecretProvider>
ValueFactory.Conversions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PASSWORD_PROPERTY |
Constructor and Description |
---|
PromptSecretProvider() |
Modifier and Type | Method and Description |
---|---|
InputHandler |
getInputHandler() |
int |
getRetries() |
void |
setInputHandler(InputHandler inputHandler) |
void |
setRetries(int retries) |
java.lang.String |
toString() |
SecretProvider |
toValue()
Provide an instance of the type this is a factory for.
|
public static final java.lang.String PASSWORD_PROPERTY
public SecretProvider toValue() throws ArooaConversionException
ValueFactory
toValue
in interface ValueFactory<SecretProvider>
ArooaConversionException
- If unable to provide a value.public InputHandler getInputHandler()
@Inject public void setInputHandler(InputHandler inputHandler)
public int getRetries()
public void setRetries(int retries)
public java.lang.String toString()
toString
in class java.lang.Object