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 StringgetApplicationName()Gets the value of the applicationName property.StringgetApplicationUUID()Gets the value of the applicationUUID property.StringgetAvailableDiskSpace()Gets the amount of available disk space in GB of the hard disk that contains the application's root folder.StringgetAvailableJvmMemory()Gets the amount of available JVM memory in MB at the machine that the application runs on.StringgetCoreVersion()Gets the value of the coreVersion property.ZDategetDeployTime()Gets the value of the deployTime property.intgetExpectedUploadTime()Gets the value of the expectedUploadTime property.intgetProgressedUploadTime()Gets the value of the progressedUploadTime property.StringgetServerLocation()Gets the value of the serverLocation property.StringgetStatus()Gets the value of the status property.StringgetUsedCpu()Gets the percentage of the CPU currently in use at the machine that the application runs on.StringgetVersion()Gets the value of the version property.voidsetApplicationName(String value)Sets the value of the applicationName property.voidsetApplicationUUID(String value)Sets the value of the applicationUUID property.voidsetCoreVersion(String value)Sets the value of the coreVersion property.voidsetDeployTime(ZDate value)Sets the value of the deployTime property.voidsetExpectedUploadTime(int value)Sets the value of the expectedUploadTime property.voidsetProgressedUploadTime(int value)Sets the value of the progressedUploadTime property.voidsetServerLocation(String value)Sets the value of the serverLocation property.voidsetStatus(String value)Sets the value of the status property.voidsetVersion(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
applicationNameproperty holds the value returned by the application'sMain.getAppName()method.- Returns:
- the applicationName property
-
setApplicationName
Sets the value of the applicationName property.The
applicationNameproperty holds the value returned by the application'sMain.getAppName()method.- Parameters:
value-
-
getVersion
Gets the value of the version property.The
versionproperty holds the value returned by the application'sMain.getAppVersion()method.- Returns:
- the version property
-
setVersion
Sets the value of the version property.The
versionproperty holds the value returned by the application'sMain.getAppVersion()method.- Parameters:
value-
-
getCoreVersion
Gets the value of the coreVersion property.The
coreVersionproperty holds the value returned by the application'sMain.getCoreVersion()method.- Returns:
- the coreVersion property
-
setCoreVersion
Sets the value of the coreVersion property.The
coreVersionproperty holds the value returned by the application'sMain.getCoreVersion()method.- Parameters:
value-
-
getServerLocation
Gets the value of the serverLocation property.The
serverLocationproperty 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
serverLocationproperty holds the IP address of the machine that the application runs on.- Parameters:
value-
-
getDeployTime
Gets the value of the deployTime property.The
deployTimeproperty holds the value returned by the application'sMain.getDeployDate()method.- Returns:
- the deployTime property
-
setDeployTime
Sets the value of the deployTime property.The
deployTimeproperty holds the value returned by the application'sMain.getDeployDate()method.- Parameters:
value-
-
getStatus
Gets the value of the status property.The
statusproperty holds the value returned by the application'sMain.getStatus()method.- Returns:
- the status property
-
setStatus
Sets the value of the status property.The
statusproperty holds the value returned by the application'sMain.getStatus()method.- Parameters:
value-
-
getProgressedUploadTime
public int getProgressedUploadTime()Gets the value of the progressedUploadTime property.The
progressedUploadTimeproperty 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
progressedUploadTimeproperty 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
expectedUploadTimeproperty 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
expectedUploadTimeproperty holds the remaining time in seconds for the application's deploy file uploading.- Parameters:
value-
-
getApplicationUUID
Gets the value of the applicationUUID property.The
applicationUUIDproperty holds the value returned by the application'sMain.getAppUUID()method.- Returns:
- the applicationUUID property
-
setApplicationUUID
Sets the value of the applicationUUID property.The
applicationUUIDproperty 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.
-