Package jenkins.plugins.ssh2easy.gssh
Class GsshShellBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- jenkins.plugins.ssh2easy.gssh.GsshShellBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
public class GsshShellBuilder extends Builder
GSSH Builder extentation- Author:
- Jerry Cai
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GsshShellBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static Logger
LOGGER
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description GsshShellBuilder()
GsshShellBuilder(boolean disable, String serverInfo, String shell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GsshShellBuilder.DescriptorImpl
getDescriptor()
String
getGroupName()
String
getIp()
String
getServerInfo()
String
getShell()
boolean
isDisable()
boolean
perform(AbstractBuild build, Launcher launcher, BuildListener listener)
void
setDisable(boolean disable)
void
setGroupName(String groupName)
void
setIp(String ip)
void
setServerInfo(String serverInfo)
void
setShell(String shell)
-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Field Detail
-
LOGGER
public static final Logger LOGGER
-
-
Method Detail
-
perform
public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
IOException
InterruptedException
-
getDescriptor
public GsshShellBuilder.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
isDisable
public boolean isDisable()
-
setDisable
public void setDisable(boolean disable)
-
getIp
public String getIp()
-
setIp
public void setIp(String ip)
-
getShell
public String getShell()
-
setShell
public void setShell(String shell)
-
getServerInfo
public String getServerInfo()
-
setServerInfo
public void setServerInfo(String serverInfo)
-
getGroupName
public String getGroupName()
-
setGroupName
public void setGroupName(String groupName)
-
-