public class Shell extends CommandInterpreter
| Modifier and Type | Class and Description |
|---|---|
static class |
Shell.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListcommandBUILDERS, PUBLISHERS| Modifier and Type | Method and Description |
|---|---|
String[] |
buildCommandLine(FilePath script) |
protected String |
getContents() |
Shell.DescriptorImpl |
getDescriptor()
Gets the descriptor for this instance.
|
protected String |
getFileExtension() |
createScriptFile, getCommand, join, perform, performall, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public Shell(String command)
public String[] buildCommandLine(FilePath script)
buildCommandLine in class CommandInterpreterprotected String getContents()
getContents in class CommandInterpreterprotected String getFileExtension()
getFileExtension in class CommandInterpreterpublic Shell.DescriptorImpl getDescriptor()
Describable
Descriptor is a singleton for every concrete Describable
implementation, so if a.getClass() == b.getClass() then by default
a.getDescriptor() == b.getDescriptor() as well.
(In rare cases a single implementation class may be used for instances with distinct descriptors.)
getDescriptor in interface Describable<Builder>getDescriptor in class BuilderCopyright © 2019. All rights reserved.