|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.connect.AuthKey
public class AuthKey
Describes an item of authorization information required when connecting to a remote service. This will typically be something like username, password, etc.
Constructor Summary | |
---|---|
AuthKey(String name)
Constructs a new key with a given name. |
Method Summary | |
---|---|
String |
getDefault()
Returns the default value for this key. |
String |
getDescription()
Returns the description of this key. |
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(String dfault)
Sets a default value for this key. |
void |
setDescription(String description)
Sets the description of this key. |
void |
setHidden(boolean hidden)
Sets whether this key's value will be hidden. |
void |
setName(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthKey(String name)
name
- nameMethod Detail |
---|
public void setName(String name)
name
- namepublic String getName()
public void setDescription(String description)
description
- descriptionpublic String getDescription()
public void setDefault(String dfault)
dfault
- defaultpublic 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()
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |