|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.lang.AbstractDirective net.dpml.transit.info.HostDirective
Description of a host configuration within Transit.
Constructor Summary | |
HostDirective(String id,
int priority,
String host,
String index,
String username,
char[] password,
boolean enabled,
boolean trusted,
String layout,
String scheme,
String prompt)
Creation of a new host description. |
Method Summary | |
boolean |
equals(Object other)
Compare this instance with a supplied object for equality. |
boolean |
getEnabled()
Return the enabled status. |
String |
getHost()
Return the resource host. |
String |
getID()
Return the host identifier. |
String |
getIndex()
Return the index resource name. |
String |
getLayout()
Return the layout name. |
char[] |
getPassword()
Return the proxy password. |
int |
getPriority()
Return the host priority. |
String |
getPrompt()
Return the authentication prompt. |
String |
getScheme()
Return the authentication scheme. |
boolean |
getTrusted()
Return the trusted status. |
String |
getUsername()
Return the proxy username. |
int |
hashCode()
Compute the instance hashcode value. |
Methods inherited from class net.dpml.lang.AbstractDirective |
equals, hashArray, hashValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HostDirective(String id, int priority, String host, String index, String username, char[] password, boolean enabled, boolean trusted, String layout, String scheme, String prompt) throws NullPointerException
id
- a unique resource host identifierpriority
- the host prorityhost
- the resource hostindex
- the name of an index resource (may be null)username
- a possibly null usernamepassword
- a possibly null passwordenabled
- true if enabledtrusted
- true if trustedlayout
- the name of the layout strategyscheme
- the security scheme (may be null)prompt
- authentication prompt (may be null)
NullPointerException
- if the id, host, or layout are nullMethod Detail |
public String getID()
public int getPriority()
public String getHost()
public String getIndex()
public String getUsername()
public char[] getPassword()
public boolean getEnabled()
public boolean getTrusted()
public String getLayout()
public String getPrompt()
public String getScheme()
public boolean equals(Object other)
equals
in class AbstractDirective
other
- the other object
public int hashCode()
hashCode
in class AbstractDirective
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |