Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.Integer> |
badBuildNumbers |
protected java.lang.String |
invocationURL |
protected java.util.Map<java.lang.String,java.lang.String> |
parameters |
protected TopLevelBuild |
topLevelBuild |
buildNumber, jobName, master, result, statusModifiedTime
Constructor and Description |
---|
DownstreamBuild(java.lang.String invocationURL,
TopLevelBuild topLevelBuild) |
Modifier and Type | Method and Description |
---|---|
protected org.json.JSONObject |
getBuildJSONObject() |
protected org.json.JSONArray |
getBuildsJSONArray() |
protected org.json.JSONObject |
getCompletedBuildJSONObject() |
java.lang.String |
getInvocationURL() |
protected java.util.Set<java.lang.String> |
getParameterNames() |
java.util.Map<java.lang.String,java.lang.String> |
getParameters() |
protected java.util.Map<java.lang.String,java.lang.String> |
getParameters(org.json.JSONArray jsonArray) |
protected java.util.Map<java.lang.String,java.lang.String> |
getParameters(org.json.JSONObject buildJSONObject) |
protected java.util.Map<java.lang.String,java.lang.String> |
getParameters(java.lang.String queryString) |
protected org.json.JSONObject |
getQueueItemJSONObject() |
protected org.json.JSONArray |
getQueueItemsJSONArray() |
protected org.json.JSONObject |
getRunningBuildJSONObject() |
TopLevelBuild |
getTopLevelBuild() |
void |
reinvoke() |
void |
update() |
decodeURL, getBuildNumber, getBuildURL, getJobName, getJobURL, getMaster, getResult, getStatus, getStatusAge, setBuildURL, setStatus
protected java.util.List<java.lang.Integer> badBuildNumbers
protected java.lang.String invocationURL
protected java.util.Map<java.lang.String,java.lang.String> parameters
protected TopLevelBuild topLevelBuild
public DownstreamBuild(java.lang.String invocationURL, TopLevelBuild topLevelBuild) throws java.lang.Exception
java.lang.Exception
public java.lang.String getInvocationURL()
public java.util.Map<java.lang.String,java.lang.String> getParameters()
public TopLevelBuild getTopLevelBuild()
public void reinvoke() throws java.lang.Exception
java.lang.Exception
public void update() throws java.lang.Exception
java.lang.Exception
protected org.json.JSONObject getBuildJSONObject() throws java.lang.Exception
java.lang.Exception
protected org.json.JSONArray getBuildsJSONArray() throws java.lang.Exception
java.lang.Exception
protected org.json.JSONObject getCompletedBuildJSONObject() throws java.lang.Exception
java.lang.Exception
protected java.util.Set<java.lang.String> getParameterNames() throws java.lang.Exception
java.lang.Exception
protected java.util.Map<java.lang.String,java.lang.String> getParameters(org.json.JSONArray jsonArray) throws java.lang.Exception
java.lang.Exception
protected java.util.Map<java.lang.String,java.lang.String> getParameters(org.json.JSONObject buildJSONObject) throws java.lang.Exception
java.lang.Exception
protected java.util.Map<java.lang.String,java.lang.String> getParameters(java.lang.String queryString) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
protected org.json.JSONObject getQueueItemJSONObject() throws java.lang.Exception
java.lang.Exception
protected org.json.JSONArray getQueueItemsJSONArray() throws java.lang.Exception
java.lang.Exception
protected org.json.JSONObject getRunningBuildJSONObject() throws java.lang.Exception
java.lang.Exception