public class GatherTestList extends BuildStep<GatherTestList> implements HttpBasedStep
buildProcessor| Constructor and Description |
|---|
GatherTestList(BuildProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getTestNames() |
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 GatherTestList(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 Collection<String> getTestNames()
public boolean needsRescheduling()
BuildStepneedsRescheduling in class BuildStep<GatherTestList>public void perform()
throws Exception
BuildStepperform in class BuildStep<GatherTestList>Exceptionpublic void reset()
BuildStepreset in class BuildStep<GatherTestList>public Integer suggestedReschedulingInterval()
BuildStepsuggestedReschedulingInterval in class BuildStep<GatherTestList>Copyright © 2010–2016 Henix, henix.fr. All rights reserved.