org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks
Class AbstractBuildProcessor

java.lang.Object
  extended by org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks.AbstractBuildProcessor
All Implemented Interfaces:
BuildProcessor
Direct Known Subclasses:
DelayedBuildProcessor, SynchronousBuildProcessor

public abstract class AbstractBuildProcessor
extends Object
implements BuildProcessor


Field Summary
protected  StepFuture currentFuture
           
protected  BuildStep<?> currentStep
           
protected  StepScheduler scheduler
           
 
Constructor Summary
AbstractBuildProcessor()
           
 
Method Summary
protected  void _reschedule()
           
 void cancel()
          cancels the build processing, no urgency needed
protected  StepFuture getCurrentFuture()
           
protected  BuildStep<?> getCurrentStep()
           
 int getDefaultReschedulingDelay()
           
 StepScheduler getScheduler()
           
protected abstract  StepSequence getStepSequence()
           
 boolean isCanceled()
           
protected  void scheduleNextStep()
           
 void setDefaultReschedulingDelay(int defaultReschedulingDelay)
           
 boolean taskHasBegun()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks.BuildProcessor
notifyException, notifyStepDone, run
 

Field Detail

scheduler

protected StepScheduler scheduler

currentStep

protected BuildStep<?> currentStep

currentFuture

protected StepFuture currentFuture
Constructor Detail

AbstractBuildProcessor

public AbstractBuildProcessor()
Method Detail

getScheduler

public StepScheduler getScheduler()

setDefaultReschedulingDelay

public void setDefaultReschedulingDelay(int defaultReschedulingDelay)

getCurrentStep

protected BuildStep<?> getCurrentStep()

getCurrentFuture

protected StepFuture getCurrentFuture()

getDefaultReschedulingDelay

public int getDefaultReschedulingDelay()

isCanceled

public boolean isCanceled()

cancel

public void cancel()
Description copied from interface: BuildProcessor
cancels the build processing, no urgency needed

Specified by:
cancel in interface BuildProcessor

taskHasBegun

public boolean taskHasBegun()

scheduleNextStep

protected void scheduleNextStep()

_reschedule

protected void _reschedule()

getStepSequence

protected abstract StepSequence getStepSequence()


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.