org.squashtest.tm.plugin.testautomation.jenkins.internal.tasksteps
Class GatherTestList
java.lang.Object
org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks.BuildStep<GatherTestList>
org.squashtest.tm.plugin.testautomation.jenkins.internal.tasksteps.GatherTestList
- All Implemented Interfaces:
- Runnable, HttpBasedStep
public class GatherTestList
- extends BuildStep<GatherTestList>
- implements HttpBasedStep
| Fields inherited from class org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks.BuildStep |
buildProcessor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GatherTestList
public GatherTestList(BuildProcessor processor)
setClient
public void setClient(org.apache.commons.httpclient.HttpClient client)
- Specified by:
setClient in interface HttpBasedStep
setMethod
public void setMethod(org.apache.commons.httpclient.HttpMethod method)
- Specified by:
setMethod in interface HttpBasedStep
setParser
public void setParser(JsonParser parser)
- Specified by:
setParser in interface HttpBasedStep
setBuildAbsoluteId
public void setBuildAbsoluteId(BuildAbsoluteId absoluteId)
- Specified by:
setBuildAbsoluteId in interface HttpBasedStep
getTestNames
public Collection<String> getTestNames()
needsRescheduling
public boolean needsRescheduling()
- Description copied from class:
BuildStep
- Tells whether the current step is complete, or the same step needs to be executed again at a later time.
- Specified by:
needsRescheduling in class BuildStep<GatherTestList>
- Returns:
- true if needs rescheduling, false if we can move to the next step
perform
public void perform()
throws Exception
- Description copied from class:
BuildStep
- do the job
- Specified by:
perform in class BuildStep<GatherTestList>
- Throws:
Exception
reset
public void reset()
- Description copied from class:
BuildStep
- sets the same object ready for reuse
- Specified by:
reset in class BuildStep<GatherTestList>
suggestedReschedulingInterval
public Integer suggestedReschedulingInterval()
- Description copied from class:
BuildStep
- 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. Null should be returned if it has no opinion and let the processor decide
instead.
- Specified by:
suggestedReschedulingInterval in class BuildStep<GatherTestList>
- Returns:
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.