Class VectorCASTCommand
- java.lang.Object
- 
- hudson.tasks.BuildStepCompatibilityLayer
- 
- hudson.tasks.Builder
- 
- com.vectorcast.plugins.vectorcastexecution.VectorCASTCommand
 
 
 
- 
- All Implemented Interfaces:
- ExtensionPoint,- Describable<Builder>,- BuildStep,- SimpleBuildStep
 
 public class VectorCASTCommand extends Builder implements SimpleBuildStep This class allows a command script to be specified for both Linux and Windows and the build step will test and run the correct command.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classVectorCASTCommand.DescriptorImplDescriptor forVectorCASTCommand.- 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStepBuildStep.PublisherList
 - 
Nested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
 - 
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStepSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
 
- 
 - 
Field Summary- 
Fields inherited from interface hudson.tasks.BuildStepBUILDERS, PUBLISHERS
 
- 
 - 
Constructor SummaryConstructors Constructor Description VectorCASTCommand(String winCommand, String unixCommand)Create a VectorCAST command.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorCASTCommand.DescriptorImplgetDescriptor()Get the descriptor.StringgetUnixCommand()Get the Unix variant of the command.StringgetWinCommand()Get the windows variant of the command.voidperform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)Perform the script to run the job.- 
Methods inherited from class hudson.tasks.Builderall, getRequiredMonitorService, prebuild
 - 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayergetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface hudson.tasks.BuildStepgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
 - 
Methods inherited from interface jenkins.tasks.SimpleBuildStepperform, perform, requiresWorkspace
 
- 
 
- 
- 
- 
Method Detail- 
getWinCommandpublic final String getWinCommand() Get the windows variant of the command.- Returns:
- windows command.
 
 - 
getUnixCommandpublic final String getUnixCommand() Get the Unix variant of the command.- Returns:
- unix command.
 
 - 
performpublic void perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) Perform the script to run the job.- Specified by:
- performin interface- SimpleBuildStep
- Parameters:
- build- info
- workspace- info
- launcher- info
- listener- info
 
 - 
getDescriptorpublic VectorCASTCommand.DescriptorImpl getDescriptor() Get the descriptor.- Specified by:
- getDescriptorin interface- Describable<Builder>
- Overrides:
- getDescriptorin class- Builder
- Returns:
- descriptor
 
 
- 
 
-