com.sas.hls.configuration
Class ApplicationInformation

java.lang.Object
  extended by com.sas.hls.configuration.ApplicationInformation
All Implemented Interfaces:
Serializable

public class ApplicationInformation
extends Object
implements Serializable

Provides information on the internal versions of components that were deployed with the API. This information is typically only used internally to verify the deployment consistency between the client and server distributions, but this information can be used by consumers of the API to do their own version checking and help in the debugging and technical support issue which may arise.

Since:
1.7
See Also:
ApplicationInformationService.getApplicationInformation(), Serialized Form

Constructor Summary
ApplicationInformation(String apiServerVersion, String appServerVersion)
          Initializing constructor which sets the values of all variables.
 
Method Summary
 String getApiClientVersion()
          Returns the SAS Drug Development API version running on the client.
 String getApiServerVersion()
          Returns the SAS Drug Development API version running on the server.
 String getAppServerVersion()
          Returns the SAS Drug Development server version the API is connected to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationInformation

public ApplicationInformation(String apiServerVersion,
                              String appServerVersion)
Initializing constructor which sets the values of all variables. It is not intended for consumers of the API to construct these objects directly, rather retrieve them from the call ApplicationInformationService.getApplicationInformation().

Parameters:
apiServerVersion - The SAS Drug Development API version running on the server.
appServerVersion - The SAS Drug Development server version.
Method Detail

getApiClientVersion

public String getApiClientVersion()
Returns the SAS Drug Development API version running on the client.

Returns:
The SAS Drug Development API version running on the client.

getApiServerVersion

public String getApiServerVersion()
Returns the SAS Drug Development API version running on the server.

Returns:
The SAS Drug Development API version running on the server.

getAppServerVersion

public String getAppServerVersion()
Returns the SAS Drug Development server version the API is connected to.

Returns:
The SAS Drug Development server version the API is connected to.


Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA