net.praqma.jenkins.rqm.collector
Class RqmTestSuiteExectionRecordCollectionStrategy

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<RqmCollector>
      extended by net.praqma.jenkins.rqm.RqmCollector
          extended by net.praqma.jenkins.rqm.collector.RqmTestSuiteExectionRecordCollectionStrategy
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<RqmCollector>

public class RqmTestSuiteExectionRecordCollectionStrategy
extends RqmCollector

Step 1 : Get a feed of all testsuiterecords within the plan Step 2 : Select the test cases associated with testsuiteexecutionrecord. This has to be done though a testsuite

Author:
Mads

Nested Class Summary
static class RqmTestSuiteExectionRecordCollectionStrategy.RqmTestSuiteCollectionStrategyImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String executionRecordName
           
 String planName
           
 String projectName
           
 
Constructor Summary
RqmTestSuiteExectionRecordCollectionStrategy(String executionRecordName, String planName, String projectName)
           
 
Method Summary
<T extends RqmObject>
List<T>
collect(hudson.model.BuildListener listener, hudson.model.AbstractBuild<?,?> build)
           
 boolean execute(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, hudson.Launcher launcher, List<hudson.tasks.BuildStep> preBuildSteps, List<hudson.tasks.BuildStep> postBuildSteps, List<hudson.tasks.BuildStep> iterativeTestCaseBuilders, List<? extends RqmObject> results)
           
 
Methods inherited from class net.praqma.jenkins.rqm.RqmCollector
all, getContextRoot, getDescriptor, getDescriptors, getHostName, getPasswd, getPort, getUsrName, setContextRoot, setHostName, setPasswd, setPort, setup, setUsrName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executionRecordName

public final String executionRecordName

planName

public final String planName

projectName

public final String projectName
Constructor Detail

RqmTestSuiteExectionRecordCollectionStrategy

@DataBoundConstructor
public RqmTestSuiteExectionRecordCollectionStrategy(String executionRecordName,
                                                                         String planName,
                                                                         String projectName)
Method Detail

collect

public <T extends RqmObject> List<T> collect(hudson.model.BuildListener listener,
                                             hudson.model.AbstractBuild<?,?> build)
                                  throws Exception
Specified by:
collect in class RqmCollector
Throws:
Exception

execute

public boolean execute(hudson.model.AbstractBuild<?,?> build,
                       hudson.model.BuildListener listener,
                       hudson.Launcher launcher,
                       List<hudson.tasks.BuildStep> preBuildSteps,
                       List<hudson.tasks.BuildStep> postBuildSteps,
                       List<hudson.tasks.BuildStep> iterativeTestCaseBuilders,
                       List<? extends RqmObject> results)
                throws Exception
Overrides:
execute in class RqmCollector
Throws:
Exception


Copyright © 2004-2014. All Rights Reserved.