public class GXConfig
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
GXConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addVariable(GXVariable variable)
Adds a variable to the framework configuration
The variable will be used in the internal framework requests to the server.
|
void |
addVariable(java.lang.String varName,
java.lang.String varValue) |
java.lang.Object |
clone() |
java.lang.String |
get_ApplicationName()
For .NET framework usage.
|
java.lang.String |
get_Description()
For .NET framework usage.
|
boolean |
get_FailOnWarning()
For .NET framework usage.
|
java.lang.String |
get_HostNewPassword()
For .NET framework usage.
|
java.lang.String |
get_HostPassword()
For .NET framework usage.
|
java.lang.String |
get_HostUserName()
For .NET framework usage.
|
java.lang.String |
get_Password()
For .NET framework usage.
|
java.lang.String |
get_ServerURL()
For .NET framework usage.
|
java.lang.String |
get_ServiceName()
For .NET framework usage.
|
java.lang.String |
get_SessionId()
For .NET framework usage.
|
boolean |
get_ShowIntermediateScreen()
For .NET framework usage.
|
GXVariable |
get_Variable(java.lang.String varName)
For .NET framework usage.
|
GXVariable[] |
get_Variables()
For .NET framework usage.
|
boolean |
get_VariablesModified()
For .NET framework usage.
|
java.lang.String |
getApplicationName()
The name of the ApplinX application.
|
java.lang.String |
getDescription()
The description of the session in ApplinX server.
|
java.lang.String |
getHostNewPassword() |
java.lang.String |
getHostPassword()
The host password.
|
java.lang.String |
getHostUserName()
The host user name for SSH and Natural-Unix protocol only.
|
java.lang.String |
getPassword()
The password to the session in ApplinX server.
|
GXIApplicationServerContext |
getServerContext()
For J2EE usage only.
|
java.lang.String |
getServerURL()
The ApplinX server URL, by default it is applinx://localhost:2323.
|
java.lang.String |
getServiceName()
Formally known as host service
The connection pool used to get a session. |
java.lang.String |
getSessionId()
The session ID in ApplinX server.
|
GXVariable |
getVariable(java.lang.String varName)
Returns a variable used by the framework by the specified variable name.
|
GXVariable[] |
getVariables()
An array of variables to be passed to the server.
|
boolean |
isFailOnWarning() |
boolean |
isShowIntermediateScreen()
Determines whether to show intermediate host screens.
|
boolean |
isVariablesModified()
For internal usage
|
void |
removeVariable(java.lang.String varName) |
void |
set_ApplicationName(java.lang.String applicationName)
For .NET framework usage.
|
void |
set_Description(java.lang.String desc)
For .NET framework usage.
|
void |
set_FailOnWarning(boolean failOnWarning)
For .NET framework usage.
|
void |
set_HostNewPassword(java.lang.String hostNewPassword)
For .NET framework usage.
|
void |
set_HostPassword(java.lang.String hostPassword)
For .NET framework usage.
|
void |
set_HostUserName(java.lang.String hostUserName)
For .NET framework usage.
|
void |
set_Password(java.lang.String password)
For .NET framework usage.
|
void |
set_ServerURL(java.lang.String serverURL)
For .NET framework usage.
|
void |
set_ServiceName(java.lang.String serviceName)
For .NET framework usage.
|
void |
set_SessionId(java.lang.String sessionId)
For .NET framework usage.
|
void |
set_ShowIntermediateScreen(boolean show)
For .NET framework usage.
|
void |
set_Variables(GXVariable[] variables)
For .NET framework usage.
|
void |
setApplicationName(java.lang.String applicationName)
The name of the ApplinX application.
|
void |
setDescription(java.lang.String desc)
The description of the session in ApplinX server.
|
void |
setFailOnWarning(boolean failOnWarning) |
void |
setHostNewPassword(java.lang.String hostNewPassword) |
void |
setHostPassword(java.lang.String hostPassword)
The host password.
|
void |
setHostUserName(java.lang.String hostUserName)
The host user name.
|
void |
setPassword(java.lang.String password)
The password required to access a specific session on the ApplinX server.
|
void |
setServerContext(GXIApplicationServerContext serverContext)
For J2EE usage only.
|
void |
setServerURL(java.lang.String serverURL)
The ApplinX server URL, by default it is applinx://localhost:2323.
|
void |
setServiceName(java.lang.String serviceName)
Formally known as host service
The connection pool used to get a session. |
void |
setSessionId(java.lang.String sessionId)
The Session ID in the web server.
|
void |
setShowIntermediateScreen(boolean show)
Determine whether to show intermediate host screens.
|
void |
setVariables(GXVariable[] variables)
An array of variables to be passed to the server.
|
java.lang.String |
toString() |
public java.lang.String get_ServerURL()
public void set_ServerURL(java.lang.String serverURL)
public java.lang.String getServerURL()
public void setServerURL(java.lang.String serverURL)
serverURL
- The ApplinX server URLpublic java.lang.String get_SessionId()
public void set_SessionId(java.lang.String sessionId)
public java.lang.String getSessionId()
public void setSessionId(java.lang.String sessionId)
sessionId
- the session ID in ApplinX serverpublic java.lang.String get_HostUserName()
public void set_HostUserName(java.lang.String hostUserName)
public java.lang.String getHostUserName()
public void setHostUserName(java.lang.String hostUserName)
hostUserName
- the host user name for SSH and Natural-Unix protocolpublic java.lang.String get_ApplicationName()
public void set_ApplicationName(java.lang.String applicationName)
public java.lang.String getApplicationName()
public void setApplicationName(java.lang.String applicationName)
applicationName
- the name of the ApplinX applicationpublic java.lang.String get_Description()
public void set_Description(java.lang.String desc)
public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
desc
- the description of the session in ApplinX serverpublic java.lang.String get_Password()
public void set_Password(java.lang.String password)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the password to the session in ApplinX serverpublic java.lang.String get_HostPassword()
public void set_HostPassword(java.lang.String hostPassword)
public java.lang.String getHostPassword()
public void setHostPassword(java.lang.String hostPassword)
hostPassword
- the host password for SSH and Natural-Unix protocol onlypublic java.lang.String get_ServiceName()
public void set_ServiceName(java.lang.String serviceName)
public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName
- the connection pool used to get a sessionpublic GXVariable[] getVariables()
GXBaseObjectConstants
public GXVariable[] get_Variables()
public void set_Variables(GXVariable[] variables)
public void setVariables(GXVariable[] variables)
variables
- an array of variables to be passed to the serverGXBaseObjectConstants
public GXVariable getVariable(java.lang.String varName)
public void addVariable(GXVariable variable)
public void addVariable(java.lang.String varName, java.lang.String varValue)
public void removeVariable(java.lang.String varName)
public boolean isVariablesModified()
public GXIApplicationServerContext getServerContext()
public void setServerContext(GXIApplicationServerContext serverContext)
serverContext
- the ApplinX server context when running in local modepublic boolean isShowIntermediateScreen()
public void setShowIntermediateScreen(boolean show)
show
- whether to show intermediate host screenspublic boolean get_ShowIntermediateScreen()
public void set_ShowIntermediateScreen(boolean show)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getHostNewPassword()
public void setHostNewPassword(java.lang.String hostNewPassword)
public boolean isFailOnWarning()
public void setFailOnWarning(boolean failOnWarning)
public GXVariable get_Variable(java.lang.String varName)
public boolean get_VariablesModified()
public java.lang.String get_HostNewPassword()
public void set_HostNewPassword(java.lang.String hostNewPassword)
public boolean get_FailOnWarning()
public void set_FailOnWarning(boolean failOnWarning)
Copyright 2019 Software AG. All rights reserved. Use is subject to license terms.