Class ApplicationInfo

java.lang.Object
org.spiderwiz.admin.data.ApplicationInfo

@WizSerializable
public class ApplicationInfo
extends Object
Provides information about an application for the use of SpiderAdmin.

The class is used internally by the SpiderAdmin agent and is rarely accessed explicitly. It is documented here for those rare cases.

  • 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

      public String getApplicationName()
      Gets the value of the applicationName property.

      The applicationName property holds the value returned by the application's Main.getAppName() method.

      Returns:
      the applicationName property
    • setApplicationName

      public void setApplicationName​(String value)
      Sets the value of the applicationName property.

      The applicationName property holds the value returned by the application's Main.getAppName() method.

      Parameters:
      value -
    • getVersion

      public String getVersion()
      Gets the value of the version property.

      The version property holds the value returned by the application's Main.getAppVersion() method.

      Returns:
      the version property
    • setVersion

      public void setVersion​(String value)
      Sets the value of the version property.

      The version property holds the value returned by the application's Main.getAppVersion() method.

      Parameters:
      value -
    • getCoreVersion

      public String getCoreVersion()
      Gets the value of the coreVersion property.

      The coreVersion property holds the value returned by the application's Main.getCoreVersion() method.

      Returns:
      the coreVersion property
    • setCoreVersion

      public void setCoreVersion​(String value)
      Sets the value of the coreVersion property.

      The coreVersion property holds the value returned by the application's Main.getCoreVersion() method.

      Parameters:
      value -
    • getServerLocation

      public String 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

      public void setServerLocation​(String value)
      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

      public ZDate getDeployTime()
      Gets the value of the deployTime property.

      The deployTime property holds the value returned by the application's Main.getDeployDate() method.

      Returns:
      the deployTime property
    • setDeployTime

      public void setDeployTime​(ZDate value)
      Sets the value of the deployTime property.

      The deployTime property holds the value returned by the application's Main.getDeployDate() method.

      Parameters:
      value -
    • getStatus

      public String getStatus()
      Gets the value of the status property.

      The status property holds the value returned by the application's Main.getStatus() method.

      Returns:
      the status property
    • setStatus

      public void setStatus​(String value)
      Sets the value of the status property.

      The status property holds the value returned by the application's Main.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

      public String getApplicationUUID()
      Gets the value of the applicationUUID property.

      The applicationUUID property holds the value returned by the application's Main.getAppUUID() method.

      Returns:
      the applicationUUID property
    • setApplicationUUID

      public void setApplicationUUID​(String value)
      Sets the value of the applicationUUID property.

      The applicationUUID property holds the value returned by the application's Main.getAppUUID() method.

      Parameters:
      value -
    • getUsedCpu

      public String 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

      public 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

      public 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.