public final class ClifInstallation extends hudson.tools.ToolInstallation implements hudson.model.EnvironmentSpecific<ClifInstallation>, hudson.slaves.NodeSpecific<ClifInstallation>
Modifier and Type | Class and Description |
---|---|
static class |
ClifInstallation.DescriptorImpl |
Constructor and Description |
---|
ClifInstallation(String name,
String home,
String options,
ClifProActiveConfig clifProActiveConfig,
List<? extends hudson.tools.ToolProperty<?>> properties) |
Modifier and Type | Method and Description |
---|---|
ClifInstallation |
forEnvironment(hudson.EnvVars environment) |
ClifInstallation |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
ClifProActiveConfig |
getClifProActiveConfig() |
String |
getExecutable(hudson.Launcher launcher)
Gets the executable path of this Clif on the given target system.
|
boolean |
getExists()
Checks executable existence
|
String |
getOptions() |
boolean |
isRunWithScheduler() |
@DataBoundConstructor public ClifInstallation(String name, String home, String options, ClifProActiveConfig clifProActiveConfig, List<? extends hudson.tools.ToolProperty<?>> properties)
public String getOptions()
public ClifProActiveConfig getClifProActiveConfig()
public boolean isRunWithScheduler()
public String getExecutable(hudson.Launcher launcher) throws IOException, InterruptedException
launcher
- objectInterruptedException
- the call was interruptedIOException
- exception trying to resolve the pathpublic boolean getExists() throws IOException, InterruptedException
InterruptedException
- the call was interruptedIOException
- exception trying to find the executablepublic ClifInstallation forEnvironment(hudson.EnvVars environment)
forEnvironment
in interface hudson.model.EnvironmentSpecific<ClifInstallation>
public ClifInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode
in interface hudson.slaves.NodeSpecific<ClifInstallation>
IOException
InterruptedException
Copyright © 2016–2017 CLIF project. All rights reserved.