public class StartBuild extends BuildStep<StartBuild> implements HttpBasedStep
buildProcessor| Constructor and Description |
|---|
StartBuild(BuildProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
needsRescheduling()
Tells whether the current step is complete, or the same step needs to be executed again at a later time.
|
void |
perform()
do the job
|
void |
reset()
sets the same object ready for reuse
|
void |
setBuildAbsoluteId(BuildAbsoluteId absoluteId) |
void |
setClient(org.apache.http.impl.client.CloseableHttpClient client) |
void |
setMethod(org.apache.http.client.methods.HttpUriRequest method) |
void |
setParser(JsonParser parser) |
Integer |
suggestedReschedulingInterval()
Returns a positive or null integer if it can suggest an adequate delay before next execution, if the task is
unconclusive and must be rescheduled.
|
addListener, run, setBuildProcessorpublic StartBuild(BuildProcessor processor)
public void setClient(org.apache.http.impl.client.CloseableHttpClient client)
setClient in interface HttpBasedSteppublic void setMethod(org.apache.http.client.methods.HttpUriRequest method)
setMethod in interface HttpBasedSteppublic void setParser(JsonParser parser)
setParser in interface HttpBasedSteppublic void setBuildAbsoluteId(BuildAbsoluteId absoluteId)
setBuildAbsoluteId in interface HttpBasedSteppublic boolean needsRescheduling()
BuildStepneedsRescheduling in class BuildStep<StartBuild>public void perform()
throws Exception
BuildStepperform in class BuildStep<StartBuild>Exceptionpublic void reset()
BuildStepreset in class BuildStep<StartBuild>public Integer suggestedReschedulingInterval()
BuildStepsuggestedReschedulingInterval in class BuildStep<StartBuild>Copyright © 2010–2016 Henix, henix.fr. All rights reserved.