hudson.plugins.sctmexecutor
Class SCTMExecutor

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by hudson.plugins.sctmexecutor.SCTMExecutor
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep

public final class SCTMExecutor
extends hudson.tasks.Builder

Executes a specified execution definition on Borland's SilkCentral Test Manager.

Author:
Thomas Fuerer

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
SCTMExecutor(int projectId, java.lang.String execDefIds, int delay, int buildNumberUsageOption, java.lang.String jobName, boolean contOnErr, boolean collectResults, boolean ignoreSetupCleanup)
           
 
Method Summary
 int getBuildNumberUsageOption()
           
 int getDelay()
           
 SCTMExecutorDescriptor getDescriptor()
           
 java.lang.String getExecDefIds()
           
 java.lang.String getJobName()
           
 int getProjectId()
           
 boolean isCollectResults()
           
 boolean isContinueOnError()
           
 boolean isignoreSetupCleanup()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Constructor Detail

SCTMExecutor

@DataBoundConstructor
public SCTMExecutor(int projectId,
                                         java.lang.String execDefIds,
                                         int delay,
                                         int buildNumberUsageOption,
                                         java.lang.String jobName,
                                         boolean contOnErr,
                                         boolean collectResults,
                                         boolean ignoreSetupCleanup)
Method Detail

getDescriptor

public SCTMExecutorDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>
Overrides:
getDescriptor in class hudson.tasks.Builder

getExecDefIds

public java.lang.String getExecDefIds()

getProjectId

public int getProjectId()

getDelay

public int getDelay()

getBuildNumberUsageOption

public int getBuildNumberUsageOption()

getJobName

public java.lang.String getJobName()

isContinueOnError

public boolean isContinueOnError()

isignoreSetupCleanup

public boolean isignoreSetupCleanup()

isCollectResults

public boolean isCollectResults()

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws java.lang.InterruptedException,
                       java.io.IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException


Copyright © 2010. All Rights Reserved.