Class PackageDeploymentJob

java.lang.Object
org.netxms.client.packages.PackageDeploymentJob

public class PackageDeploymentJob extends Object
Information about package deployment job
  • Constructor Details

    • PackageDeploymentJob

      public PackageDeploymentJob(NXCPMessage msg, long baseId)
      Create from NXCP message.
      Parameters:
      msg - NXCP message
      baseId - base field ID
  • Method Details

    • getId

      public long getId()
      Returns:
      the id
    • getNodeId

      public long getNodeId()
      Returns:
      the nodeId
    • getUserId

      public int getUserId()
      Returns:
      the userId
    • getStatus

      public PackageDeploymentStatus getStatus()
      Returns:
      the status
    • isActive

      public boolean isActive()
      Check if job is in active state (execution already started but not yet completed).
      Returns:
      true if job is in active state
    • isFinished

      public boolean isFinished()
      Check if job is in finished state.
      Returns:
      true if job is in finished state
    • getCreationTime

      public Date getCreationTime()
      Returns:
      the creationTime
    • getExecutionTime

      public Date getExecutionTime()
      Returns:
      the executionTime
    • getCompletionTime

      public Date getCompletionTime()
      Returns:
      the completionTime
    • getPackageId

      public long getPackageId()
      Returns:
      the packageId
    • getPackageType

      public String getPackageType()
      Returns:
      the packageType
    • getPackageName

      public String getPackageName()
      Returns:
      the packageName
    • getPlatform

      public String getPlatform()
      Returns:
      the platform
    • getVersion

      public String getVersion()
      Returns:
      the version
    • getPackageFile

      public String getPackageFile()
      Returns:
      the packageFile
    • getCommand

      public String getCommand()
      Returns:
      the command
    • getDescription

      public String getDescription()
      Returns:
      the description
    • getErrorMessage

      public String getErrorMessage()
      Returns:
      the errorMessage