public static class CredentialItem.YesNoType extends CredentialItem
CredentialItem.CharArrayType, CredentialItem.InformationalMessage, CredentialItem.Password, CredentialItem.StringType, CredentialItem.Username, CredentialItem.YesNoType| Constructor | Description |
|---|---|
YesNoType(String promptText) |
Initialize a prompt for a single boolean answer.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
Clear the stored value, destroying it as much as possible.
|
boolean |
getValue() |
|
void |
setValue(boolean newValue) |
Set the new value.
|
getPromptText, isValueSecurepublic YesNoType(String promptText)
promptText - prompt to display to the user alongside of the input
field. Should be sufficient text to indicate what to
supply for this item.public void clear()
CredentialItemclear in class CredentialItempublic boolean getValue()
public void setValue(boolean newValue)
newValue - Copyright © 2018. All rights reserved.