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(String taskIdentifier)
Retrieve the completion status for a specific taskIdentifier
|
String |
getDeploymentStream(String taskIdentifier)
Retrieve the deployment stream associated with a given task.
|
String |
getIdentifier()
Retrieve the Job identifier
|
int |
getNumberOfConcurrentDeployments()
Gets the number of concurrent deployments.
|
Enumeration<String> |
getTaskIdentifiers()
Gets the task identifiers associated with the concurrent deployments
|
TaskLifecycleMetrics |
getTaskLifecycleMetrics(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.
|
String getIdentifier()
boolean isComplete()
boolean isSuccessful()
int getNumberOfConcurrentDeployments()
Enumeration<String> getTaskIdentifiers()
TaskLifecycleMetrics getTaskLifecycleMetrics(String taskIdentifier)
taskIdentifier
- The ID associated with a given task.int getCompletionStatus(String taskIdentifier)
taskIdentifier
- Copyright © 2015. All rights reserved.