Class ApplicationInfo
@WizSerializable public class ApplicationInfo extends Object
The class is used internally by the SpiderAdmin agent and is rarely accessed explicitly. It is documented here for those rare cases.
-
Constructor Summary
Constructors Constructor Description ApplicationInfo()
Default class constructor.ApplicationInfo(String applicationName, String version, String coreVersion, String serverLocation, ZDate deployTime, String status, int progressedUploadTime, int expectedUploadTime, String applicationRootFileName, String applicationUUID)
Class constructor that sets class properties. -
Method Summary
Modifier and Type Method Description String
getApplicationName()
Gets the value of the applicationName property.String
getApplicationUUID()
Gets the value of the applicationUUID property.String
getAvailableDiskSpace()
Gets the amount of available disk space in GB of the hard disk that contains the application's root folder.String
getAvailableJvmMemory()
Gets the amount of available JVM memory in MB at the machine that the application runs on.String
getCoreVersion()
Gets the value of the coreVersion property.ZDate
getDeployTime()
Gets the value of the deployTime property.int
getExpectedUploadTime()
Gets the value of the expectedUploadTime property.int
getProgressedUploadTime()
Gets the value of the progressedUploadTime property.String
getServerLocation()
Gets the value of the serverLocation property.String
getStatus()
Gets the value of the status property.String
getUsedCpu()
Gets the percentage of the CPU currently in use at the machine that the application runs on.String
getVersion()
Gets the value of the version property.void
setApplicationName(String value)
Sets the value of the applicationName property.void
setApplicationUUID(String value)
Sets the value of the applicationUUID property.void
setCoreVersion(String value)
Sets the value of the coreVersion property.void
setDeployTime(ZDate value)
Sets the value of the deployTime property.void
setExpectedUploadTime(int value)
Sets the value of the expectedUploadTime property.void
setProgressedUploadTime(int value)
Sets the value of the progressedUploadTime property.void
setServerLocation(String value)
Sets the value of the serverLocation property.void
setStatus(String value)
Sets the value of the status property.void
setVersion(String value)
Sets the value of the version property.
-
Constructor Details
-
ApplicationInfo
public ApplicationInfo()Default class constructor. -
ApplicationInfo
public ApplicationInfo(String applicationName, String version, String coreVersion, String serverLocation, ZDate deployTime, String status, int progressedUploadTime, int expectedUploadTime, String applicationRootFileName, String applicationUUID)Class constructor that sets class properties.- Parameters:
applicationName
- Application name.version
- Application version.coreVersion
- Version of the Spiderwiz framework used by the application.serverLocation
- IP address of the machine that runs the application.deployTime
- The time the application was deployed.status
- User defined application status.progressedUploadTime
- Time in seconds that the application's deploy file uploading is in progress.expectedUploadTime
- Remaining time in seconds for the application's deploy file uploading.applicationRootFileName
- Name of the application root folder.applicationUUID
- The application UUID.
-
-
Method Details
-
getApplicationName
Gets the value of the applicationName property.The
applicationName
property holds the value returned by the application'sMain.getAppName()
method.- Returns:
- the applicationName property
-
setApplicationName
Sets the value of the applicationName property.The
applicationName
property holds the value returned by the application'sMain.getAppName()
method.- Parameters:
value
-
-
getVersion
Gets the value of the version property.The
version
property holds the value returned by the application'sMain.getAppVersion()
method.- Returns:
- the version property
-
setVersion
Sets the value of the version property.The
version
property holds the value returned by the application'sMain.getAppVersion()
method.- Parameters:
value
-
-
getCoreVersion
Gets the value of the coreVersion property.The
coreVersion
property holds the value returned by the application'sMain.getCoreVersion()
method.- Returns:
- the coreVersion property
-
setCoreVersion
Sets the value of the coreVersion property.The
coreVersion
property holds the value returned by the application'sMain.getCoreVersion()
method.- Parameters:
value
-
-
getServerLocation
Gets the value of the serverLocation property.The
serverLocation
property holds the IP address of the machine that the application runs on.- Returns:
- the serverLocation property
-
setServerLocation
Sets the value of the serverLocation property.The
serverLocation
property holds the IP address of the machine that the application runs on.- Parameters:
value
-
-
getDeployTime
Gets the value of the deployTime property.The
deployTime
property holds the value returned by the application'sMain.getDeployDate()
method.- Returns:
- the deployTime property
-
setDeployTime
Sets the value of the deployTime property.The
deployTime
property holds the value returned by the application'sMain.getDeployDate()
method.- Parameters:
value
-
-
getStatus
Gets the value of the status property.The
status
property holds the value returned by the application'sMain.getStatus()
method.- Returns:
- the status property
-
setStatus
Sets the value of the status property.The
status
property holds the value returned by the application'sMain.getStatus()
method.- Parameters:
value
-
-
getProgressedUploadTime
public int getProgressedUploadTime()Gets the value of the progressedUploadTime property.The
progressedUploadTime
property holds the time in seconds that the application's deploy file uploading is in progress.- Returns:
- the progressedUploadTime property
-
setProgressedUploadTime
public void setProgressedUploadTime(int value)Sets the value of the progressedUploadTime property.The
progressedUploadTime
property holds the time in seconds that the application's deploy file uploading is in progress.- Parameters:
value
-
-
getExpectedUploadTime
public int getExpectedUploadTime()Gets the value of the expectedUploadTime property.The
expectedUploadTime
property holds the remaining time in seconds for the application's deploy file uploading.- Returns:
- the expectedUploadTime property
-
setExpectedUploadTime
public void setExpectedUploadTime(int value)Sets the value of the expectedUploadTime property.The
expectedUploadTime
property holds the remaining time in seconds for the application's deploy file uploading.- Parameters:
value
-
-
getApplicationUUID
Gets the value of the applicationUUID property.The
applicationUUID
property holds the value returned by the application'sMain.getAppUUID()
method.- Returns:
- the applicationUUID property
-
setApplicationUUID
Sets the value of the applicationUUID property.The
applicationUUID
property holds the value returned by the application'sMain.getAppUUID()
method.- Parameters:
value
-
-
getUsedCpu
Gets the percentage of the CPU currently in use at the machine that the application runs on.- Returns:
- the percentage of the CPU as a String.
-
getAvailableJvmMemory
Gets the amount of available JVM memory in MB at the machine that the application runs on.- Returns:
- the amount of available JVM memory as a String.
-
getAvailableDiskSpace
Gets the amount of available disk space in GB of the hard disk that contains the application's root folder.- Returns:
- the amount of available disk space as a String.
-