public abstract class BuildStep<S extends BuildStep<S>> extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected BuildProcessor |
buildProcessor |
| Constructor and Description |
|---|
BuildStep(BuildProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(StepEventListener<S> newListener) |
abstract boolean |
needsRescheduling()
Tells whether the current step is complete, or the same step needs to be executed again at a later time.
|
abstract void |
perform()
do the job
|
abstract void |
reset()
sets the same object ready for reuse
|
void |
run() |
void |
setBuildProcessor(BuildProcessor processor) |
abstract 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.
|
protected BuildProcessor buildProcessor
public BuildStep(BuildProcessor processor)
public void addListener(StepEventListener<S> newListener)
public void setBuildProcessor(BuildProcessor processor)
public abstract boolean needsRescheduling()
public abstract void reset()
public abstract Integer suggestedReschedulingInterval()
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.