|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.transport.CredentialItem
org.eclipse.jgit.transport.CredentialItem.YesNoType
public static class CredentialItem.YesNoType
An item whose value is a boolean choice, presented as Yes/No.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jgit.transport.CredentialItem |
---|
CredentialItem.CharArrayType, CredentialItem.InformationalMessage, CredentialItem.Password, CredentialItem.StringType, CredentialItem.Username, CredentialItem.YesNoType |
Constructor Summary | |
---|---|
CredentialItem.YesNoType(java.lang.String promptText)
Initialize a prompt for a single boolean answer. |
Method Summary | |
---|---|
void |
clear()
Clear the stored value, destroying it as much as possible. |
boolean |
getValue()
|
void |
setValue(boolean newValue)
Set the new value. |
Methods inherited from class org.eclipse.jgit.transport.CredentialItem |
---|
getPromptText, isValueSecure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CredentialItem.YesNoType(java.lang.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.Method Detail |
---|
public void clear()
CredentialItem
clear
in class CredentialItem
public boolean getValue()
public void setValue(boolean newValue)
newValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |