Package jenkins.plugins.ssh2easy.gssh
Class GsshBuilderWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- jenkins.plugins.ssh2easy.gssh.GsshBuilderWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public final class GsshBuilderWrapper extends BuildWrapper
- Author:
- Jerry Cai
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GsshBuilderWrapper.GsshDescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static GsshBuilderWrapper.GsshDescriptorImpl
DESCRIPTOR
static Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description GsshBuilderWrapper()
GsshBuilderWrapper(boolean disable, String serverInfo, String preScript, String postScript)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroupName()
String
getIp()
String
getPostScript()
String
getPreScript()
BuildStepMonitor
getRequiredMonitorService()
String
getServerInfo()
SshClient
getSshClient()
boolean
isDisable()
static void
printSplit(PrintStream logger)
void
setDisable(boolean disable)
void
setGroupName(String groupName)
void
setIp(String ip)
void
setPostScript(String postScript)
void
setPreScript(String preScript)
void
setServerInfo(String serverInfo)
BuildWrapper.Environment
setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
String
toString()
-
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
LOGGER
public static final Logger LOGGER
-
DESCRIPTOR
@Extension public static final GsshBuilderWrapper.GsshDescriptorImpl DESCRIPTOR
-
-
Method Detail
-
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
- Overrides:
setUp
in classBuildWrapper
- Throws:
IOException
InterruptedException
-
printSplit
public static void printSplit(PrintStream logger)
-
getSshClient
public SshClient getSshClient()
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
-
isDisable
public boolean isDisable()
-
setDisable
public void setDisable(boolean disable)
-
getIp
public String getIp()
-
setIp
public void setIp(String ip)
-
getPreScript
public String getPreScript()
-
setPreScript
public void setPreScript(String preScript)
-
getPostScript
public String getPostScript()
-
setPostScript
public void setPostScript(String postScript)
-
getServerInfo
public String getServerInfo()
-
setServerInfo
public void setServerInfo(String serverInfo)
-
getGroupName
public String getGroupName()
-
setGroupName
public void setGroupName(String groupName)
-
-