|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kwebs.client.ServerConfigData
public final class ServerConfigData
This utility class resembles a server configuration as the user can edit it on the preference page for remote layout. It can also be used for non KIELER clients to easily manage server configurations.
Constructor Summary | |
---|---|
ServerConfigData(String thename,
URI theaddress)
Constructs a new server configuration. |
|
ServerConfigData(String thename,
URI theaddress,
String thetruststore,
String thetruststorePass)
Constructs a new server configuration. |
|
ServerConfigData(String thename,
URI theaddress,
String thetruststore,
String thetruststorePass,
boolean theisFixed,
boolean theisActive,
boolean theisStandard)
Constructs a new server configuration. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
URI |
getAddress()
Returns the address where the service is located. |
String |
getName()
Returns the name of this server configuration. |
String |
getTruststore()
Returns the path to the trust store required to access a HTTPS based service. |
String |
getTruststorePass()
Returns the password required to access the HTTPS trust store associated with this server configuration. |
int |
hashCode()
|
boolean |
isActive()
Returns whether this server configuration shall be the currently active server configuration for doing remote layout. |
boolean |
isDirty()
Returns whether this server configuration has been changed. |
boolean |
isFixed()
Returns whether this server configuration can be changed or deleted from the server configuration list. |
boolean |
isStandard()
Returns whether this server configuration shall be the standard server configuration for doing remote layout. |
void |
setActive(boolean theisActive)
Sets whether this server configuration is currently used for doing remote layout. |
void |
setAddress(URI theaddress)
Sets the address where the service is located. |
void |
setDirty(boolean theisDirty)
Sets whether this server configuration has been altered. |
void |
setFixed(boolean theisFixed)
Sets whether this server configuration can be changed or deleted from the server configuration list. |
void |
setName(String thename)
Sets the name of this server configuration. |
void |
setStandard(boolean theisStandard)
Sets whether this server configuration is the default configuration for doing layout. |
void |
setTruststore(String thetruststore)
Sets the path to the trust store required to access a HTTPS based service. |
void |
setTruststorePass(String thetruststorePass)
Sets the password required to access the HTTPS trust store associated with this server configuration. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServerConfigData(String thename, URI theaddress)
thename
- the name of the server configurationtheaddress
- the address of the layout servicepublic ServerConfigData(String thename, URI theaddress, String thetruststore, String thetruststorePass)
thename
- the name of the server configurationtheaddress
- the address of the layout servicethetruststore
- path to the trust store when using HTTPSthetruststorePass
- password for the trust storepublic ServerConfigData(String thename, URI theaddress, String thetruststore, String thetruststorePass, boolean theisFixed, boolean theisActive, boolean theisStandard)
thename
- the name of the server configurationtheaddress
- the address of the layout servicethetruststore
- path to the trust store when using HTTPSthetruststorePass
- password for the trust storetheisFixed
- whether this server configuration can be altered or deleted from the
server configuration listtheisActive
- whether this server configuration shall be the currently active
server configuration for doing remote layouttheisStandard
- whether this server configuration shall be the standard
server configuration for doing remote layoutMethod Detail |
---|
public boolean isFixed()
public void setFixed(boolean theisFixed)
theisFixed
- whether this server configuration can be changed or deleted from the server
configuration list.public boolean isDirty()
public void setDirty(boolean theisDirty)
theisDirty
- whether this server configuration has been alteredpublic boolean isActive()
public void setActive(boolean theisActive)
theisActive
- whether this server configuration is currently used for doing remote layoutpublic boolean isStandard()
public void setStandard(boolean theisStandard)
theisStandard
- whether this server configuration is the default configuration for doing layoutpublic String getName()
public void setName(String thename)
thename
- the name of this server configurationpublic URI getAddress()
public void setAddress(URI theaddress)
theaddress
- the address where the service is locatedpublic String getTruststore()
public void setTruststore(String thetruststore)
thetruststore
- the path to the trust storepublic String getTruststorePass()
public void setTruststorePass(String thetruststorePass)
thetruststorePass
- the password for the trust storepublic String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |