org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks
Class SynchronousBuildProcessor<RESULT>

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

public abstract class SynchronousBuildProcessor<RESULT>
extends AbstractBuildProcessor


Field Summary
 
Fields inherited from class org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks.AbstractBuildProcessor
currentFuture, currentStep, scheduler
 
Constructor Summary
SynchronousBuildProcessor()
           
 
Method Summary
protected abstract  void buildResult()
           
abstract  RESULT getResult()
           
 void notifyException(Exception ex)
          a BuildStep should notify its processor that the job got an error and should be cancelled.
 void notifyStepDone()
          a BuildStep should notify its processor that the job is done.
 void run()
           
 
Methods inherited from class org.squashtest.tm.plugin.testautomation.jenkins.internal.tasks.AbstractBuildProcessor
_reschedule, cancel, getCurrentFuture, getCurrentStep, getDefaultReschedulingDelay, getScheduler, getStepSequence, isCanceled, scheduleNextStep, setDefaultReschedulingDelay, taskHasBegun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousBuildProcessor

public SynchronousBuildProcessor()
Method Detail

run

public void run()

notifyStepDone

public void notifyStepDone()
Description copied from interface: BuildProcessor
a BuildStep should notify its processor that the job is done.


getResult

public abstract RESULT getResult()

buildResult

protected abstract void buildResult()

notifyException

public void notifyException(Exception ex)
Description copied from interface: BuildProcessor
a BuildStep should notify its processor that the job got an error and should be cancelled.



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