public class TowerJob extends Object implements Serializable
| Constructor and Description |
|---|
TowerJob(TowerConnector connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelJob() |
HashMap<String,String> |
getExports() |
long |
getJobID() |
Vector<String> |
getLogs() |
boolean |
isComplete() |
void |
releaseToken() |
void |
setJobId(long jobId) |
void |
setTemplateType(String templateType) |
boolean |
wasSuccessful() |
public TowerJob(TowerConnector connection)
public void setTemplateType(String templateType) throws AnsibleTowerException
AnsibleTowerExceptionpublic void setJobId(long jobId)
public long getJobID()
public boolean isComplete()
throws AnsibleTowerException
AnsibleTowerExceptionpublic boolean wasSuccessful()
throws AnsibleTowerException
AnsibleTowerExceptionpublic Vector<String> getLogs() throws AnsibleTowerException
AnsibleTowerExceptionpublic HashMap<String,String> getExports() throws AnsibleTowerException
AnsibleTowerExceptionpublic void cancelJob()
throws AnsibleTowerException
AnsibleTowerExceptionpublic void releaseToken()
throws AnsibleTowerException
AnsibleTowerExceptionCopyright © 2016–2025. All rights reserved.