Class SigmaToolInstallation
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ToolInstallation>
-
- hudson.tools.ToolInstallation
-
- io.jenkins.plugins.sigma.extension.tool.SigmaToolInstallation
-
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstallation>,EnvironmentSpecific<SigmaToolInstallation>,NodeSpecific<SigmaToolInstallation>,Serializable
public class SigmaToolInstallation extends ToolInstallation implements EnvironmentSpecific<SigmaToolInstallation>, NodeSpecific<SigmaToolInstallation>, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSigmaToolInstallation.DescriptorImpl-
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static StringUNIX_SIGMA_COMMANDstatic StringWINDOWS_SIGMA_COMMAND
-
Constructor Summary
Constructors Constructor Description SigmaToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SigmaToolInstallationforEnvironment(EnvVars environment)SigmaToolInstallationforNode(Node node, TaskListener log)Optional<String>getExecutablePath(Launcher launcher, TaskListener listener)-
Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
UNIX_SIGMA_COMMAND
public static final String UNIX_SIGMA_COMMAND
- See Also:
- Constant Field Values
-
WINDOWS_SIGMA_COMMAND
public static final String WINDOWS_SIGMA_COMMAND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SigmaToolInstallation
@DataBoundConstructor public SigmaToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Detail
-
forEnvironment
public SigmaToolInstallation forEnvironment(EnvVars environment)
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<SigmaToolInstallation>
-
forNode
public SigmaToolInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
forNodein interfaceNodeSpecific<SigmaToolInstallation>- Throws:
IOExceptionInterruptedException
-
getExecutablePath
public Optional<String> getExecutablePath(Launcher launcher, TaskListener listener)
-
-