public interface ProgressTracker
ProgressTracker
encapsulates information about the status of
jobs. One can also track the status of the various tasks that constitute the
job.Modifier and Type | Method and Description |
---|---|
int |
getCompletionStatus(java.lang.String taskIdentifier)
Retrieve the completion status for a specific taskIdentifier
|
java.lang.String |
getDeploymentStream(java.lang.String taskIdentifier)
Retrieve the deployment stream associated with a given task.
|
java.lang.String |
getIdentifier()
Retrieve the Job identifier
|
int |
getNumberOfConcurrentDeployments()
Gets the number of concurrent deployments.
|
java.util.Enumeration<java.lang.String> |
getTaskIdentifiers()
Gets the task identifiers associated with the concurrent deployments
|
TaskLifecycleMetrics |
getTaskLifecycleMetrics(java.lang.String taskIdentifier)
Retrieve the TaskLifecycleMetrics associated with a given task.
|
boolean |
isComplete()
Check to see if the Job has completed.
|
boolean |
isSuccessful()
Check to see if the Job completed successfully.
|
java.lang.String getIdentifier()
boolean isComplete()
boolean isSuccessful()
int getNumberOfConcurrentDeployments()
java.util.Enumeration<java.lang.String> getTaskIdentifiers()
TaskLifecycleMetrics getTaskLifecycleMetrics(java.lang.String taskIdentifier)
taskIdentifier
- The ID associated with a given task.int getCompletionStatus(java.lang.String taskIdentifier)
taskIdentifier
- java.lang.String getDeploymentStream(java.lang.String taskIdentifier)
taskIdentifier
- The ID associated with a given task.