public class TowerConnector extends Object
| Constructor and Description |
|---|
TowerConnector(String url,
String username,
String password) |
TowerConnector(String url,
String username,
String password,
Boolean trustAllCerts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isJobCommpleted(int jobID) |
boolean |
isJobFailed(int jobID) |
void |
logJobEvents(int jobID,
PrintStream jenkinsLogger,
boolean removeColor) |
void |
setDebug(boolean debug) |
void |
setTrustAllCerts(boolean trustAllCerts) |
int |
submitJob(String jobTemplate,
String extraVars,
String limit,
String jobTags,
String inventory,
String credential) |
void |
testConnection() |
public void setTrustAllCerts(boolean trustAllCerts)
public void setDebug(boolean debug)
public void testConnection()
throws AnsibleTowerException
AnsibleTowerExceptionpublic int submitJob(String jobTemplate, String extraVars, String limit, String jobTags, String inventory, String credential) throws AnsibleTowerException
AnsibleTowerExceptionpublic boolean isJobCommpleted(int jobID)
throws AnsibleTowerException
AnsibleTowerExceptionpublic void logJobEvents(int jobID,
PrintStream jenkinsLogger,
boolean removeColor)
throws AnsibleTowerException
AnsibleTowerExceptionpublic boolean isJobFailed(int jobID)
throws AnsibleTowerException
AnsibleTowerExceptionCopyright © 2016–2017. All rights reserved.