public class AuthKey
extends java.lang.Object
Constructor and Description |
---|
AuthKey(java.lang.String name)
Constructs a new key with a given name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefault()
Returns the default value for this key.
|
java.lang.String |
getDescription()
Returns the description of this key.
|
java.lang.String |
getName()
Returns the name of this key.
|
boolean |
isHidden()
Returns true if this key's value should be hidden.
|
boolean |
isRequired()
Indicates whether this key must have a non-null value.
|
void |
setDefault(java.lang.String dfault)
Sets a default value for this key.
|
void |
setDescription(java.lang.String description)
Sets the description of this key.
|
void |
setHidden(boolean hidden)
Sets whether this key's value will be hidden.
|
void |
setName(java.lang.String name)
Sets the name of this key.
|
void |
setRequired(boolean required)
Sets whether this key must have a non-null value for a connection
attempt to proceed.
|
public AuthKey(java.lang.String name)
name
- namepublic void setName(java.lang.String name)
name
- namepublic java.lang.String getName()
public void setDescription(java.lang.String description)
description
- descriptionpublic java.lang.String getDescription()
public void setDefault(java.lang.String dfault)
dfault
- defaultpublic java.lang.String getDefault()
public void setHidden(boolean hidden)
hidden
- true for fields whose values should not be shownpublic boolean isHidden()
public void setRequired(boolean required)
required
- true iff this key must have a valuepublic boolean isRequired()