org.jvnet.hudson.test
Class JenkinsRecipe.Runner<T extends Annotation>

java.lang.Object
  extended by org.jvnet.hudson.test.JenkinsRecipe.Runner<T>
Type Parameters:
T - The recipe annotation associated with this runner.
Direct Known Subclasses:
LocalData.RuleRunnerImpl, PresetData.RuleRunnerImpl, WithPlugin.RuleRunnerImpl, WithPluginManager.RuleRunnerImpl, WithTimeout.RuleRunnerImpl
Enclosing class:
JenkinsRecipe

public abstract static class JenkinsRecipe.Runner<T extends Annotation>
extends Object

The code that implements the recipe semantics.


Constructor Summary
JenkinsRecipe.Runner()
           
 
Method Summary
 void decorateHome(JenkinsRule jenkinsRule, File home)
          Called right before Jenkins.Jenkins(java.io.File, javax.servlet.ServletContext) is invoked to decorate the hudson home directory.
 void setup(JenkinsRule jenkinsRule, T recipe)
          Called during TestCase.setUp() to prepare the test environment.
 void tearDown(JenkinsRule jenkinsRule, T recipe)
          Called during TestCase.tearDown() to shut down the test environment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenkinsRecipe.Runner

public JenkinsRecipe.Runner()
Method Detail

setup

public void setup(JenkinsRule jenkinsRule,
                  T recipe)
           throws Exception
Called during TestCase.setUp() to prepare the test environment.

Throws:
Exception

decorateHome

public void decorateHome(JenkinsRule jenkinsRule,
                         File home)
                  throws Exception
Called right before Jenkins.Jenkins(java.io.File, javax.servlet.ServletContext) is invoked to decorate the hudson home directory.

Throws:
Exception

tearDown

public void tearDown(JenkinsRule jenkinsRule,
                     T recipe)
              throws Exception
Called during TestCase.tearDown() to shut down the test environment.

Throws:
Exception


Copyright © 2004-2013. All Rights Reserved.