Package org.netxms.client.packages
Class PackageDeploymentJob
java.lang.Object
org.netxms.client.packages.PackageDeploymentJob
Information about package deployment job
-
Constructor Summary
ConstructorsConstructorDescriptionPackageDeploymentJob(NXCPMessage msg, long baseId) Create from NXCP message. -
Method Summary
-
Constructor Details
-
PackageDeploymentJob
Create from NXCP message.- Parameters:
msg- NXCP messagebaseId- 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
- 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
- Returns:
- the creationTime
-
getExecutionTime
- Returns:
- the executionTime
-
getCompletionTime
- Returns:
- the completionTime
-
getPackageId
public long getPackageId()- Returns:
- the packageId
-
getPackageType
- Returns:
- the packageType
-
getPackageName
- Returns:
- the packageName
-
getPlatform
- Returns:
- the platform
-
getVersion
- Returns:
- the version
-
getPackageFile
- Returns:
- the packageFile
-
getCommand
- Returns:
- the command
-
getDescription
- Returns:
- the description
-
getErrorMessage
- Returns:
- the errorMessage
-