public class ConfigurationInfo extends AdminResult
Constructor and Description |
---|
ConfigurationInfo()
The default constructor.
|
ConfigurationInfo(java.lang.String serviceId,
EngineType engineType,
java.lang.Boolean isAuthenticationEnabled,
ServerType serverType)
Constructs a
ConfigurationInfo object with the specified cluster ID, engine type,
authentication check, and server type. |
ConfigurationInfo(java.lang.String errorMessage,
int responseCode)
Constructs a a
ConfigurationInfo object with the specified error message string and response code. |
Modifier and Type | Method and Description |
---|---|
EngineType |
getEngineType()
Retrieves the type of engine.
|
java.lang.Boolean |
getIsAuthenticationEnabled()
Indicates whether authentication is enabled.
|
ServerType |
getServerType()
Retrieves the type of server.
|
java.lang.String |
getServiceId()
Retrieves the Service ID as a string.
|
void |
setEngineType(EngineType engineType)
Sets the engine type.
|
void |
setIsAuthenticationEnabled(java.lang.Boolean isAuthenticationEnabled)
sets whethet authentication is enabled.
|
void |
setServerType(ServerType serverType)
Sets the type of server.
|
void |
setServiceId(java.lang.String serviceId)
Sets the Service ID.
|
void |
throwExceptionIfError()
Specifies the type of exception to throw if an error is encountered.
|
getErrorMessage, getResponseCode, setErrorMessage, setResponseCode
public ConfigurationInfo()
public ConfigurationInfo(java.lang.String serviceId, EngineType engineType, java.lang.Boolean isAuthenticationEnabled, ServerType serverType)
ConfigurationInfo
object with the specified cluster ID, engine type,
authentication check, and server type.serviceId
- A string containing the service ID.engineType
- Specifies the engine type. Can be TIBCO Enterprise Runtime for R or open-source R.isAuthenticationEnabled
- true
if authentication is enabled; otherwiswe false
.serverType
- Specifies the type of server. Can be Local Adapter or Standard.public ConfigurationInfo(java.lang.String errorMessage, int responseCode)
ConfigurationInfo
object with the specified error message string and response code.errorMessage
- An error message string.responseCode
- The response code.ResponseCodes
public ServerType getServerType()
public void setServerType(ServerType serverType)
serverType
- The type of server. Can be Local Adapter or Standard.ServerType
public EngineType getEngineType()
public void setEngineType(EngineType engineType)
engineType
- The engine type.public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
serviceId
- The serviceId ID.public java.lang.Boolean getIsAuthenticationEnabled()
true
if authentication is enabled; otherwise false
.public void setIsAuthenticationEnabled(java.lang.Boolean isAuthenticationEnabled)
isAuthenticationEnabled
- true
if authentication is enabled; otherwise false
.public void throwExceptionIfError() throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
java.lang.IllegalArgumentException
- A generic argument exception.java.lang.IllegalStateException
- A generic server state exception.