hudson.tasks
Class Shell
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.tasks.CommandInterpreter
hudson.tasks.Shell
- All Implemented Interfaces:
- ExtensionPoint, Describable<Builder>, BuildStep
public class Shell
- extends CommandInterpreter
Executes a series of commands by using a shell.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shell
@DataBoundConstructor
public Shell(String command)
buildCommandLine
public String[] buildCommandLine(FilePath script)
- Specified by:
buildCommandLine in class CommandInterpreter
getContents
protected String getContents()
- Specified by:
getContents in class CommandInterpreter
getFileExtension
protected String getFileExtension()
- Specified by:
getFileExtension in class CommandInterpreter
getDescriptor
public Shell.DescriptorImpl getDescriptor()
- Description copied from interface:
Describable
- Gets the descriptor for this instance.
Descriptor is a singleton for every concrete Describable
implementation, so if a.getClass()==b.getClass() then
a.getDescriptor()==b.getDescriptor() must hold.
- Specified by:
getDescriptor in interface Describable<Builder>- Overrides:
getDescriptor in class Builder
Copyright © 2004-2013. All Rights Reserved.