public static class CredentialItem.YesNoType extends CredentialItem
CredentialItem.CharArrayType, CredentialItem.InformationalMessage, CredentialItem.Password, CredentialItem.StringType, CredentialItem.Username, CredentialItem.YesNoType
Constructor and Description |
---|
CredentialItem.YesNoType(String promptText)
Initialize a prompt for a single boolean answer.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the stored value, destroying it as much as possible.
|
boolean |
getValue() |
void |
setValue(boolean newValue)
Set the new value.
|
getPromptText, isValueSecure
public CredentialItem.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()
CredentialItem
clear
in class CredentialItem
public boolean getValue()
public void setValue(boolean newValue)
newValue
- Copyright © 2015 Eclipse JGit Project. All rights reserved.