Package org.ow2.clif.jenkins
Class ClifInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
org.ow2.clif.jenkins.ClifInstallation
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstallation>,EnvironmentSpecific<ClifInstallation>,NodeSpecific<ClifInstallation>,Serializable
public final class ClifInstallation
extends ToolInstallation
implements EnvironmentSpecific<ClifInstallation>, NodeSpecific<ClifInstallation>
Represents the Clif installation on the system.
- Author:
- Julien Coste, Bruno Dillenseger
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionClifInstallation(String name, String home, String options, ClifProActiveConfig clifProActiveConfig, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionforEnvironment(EnvVars environment) forNode(Node node, TaskListener log) getExecutable(Launcher launcher) Gets the executable path of this Clif on the given target system.booleanChecks executable existencebooleanMethods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplaceMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ClifInstallation
@DataBoundConstructor public ClifInstallation(String name, String home, String options, ClifProActiveConfig clifProActiveConfig, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
getOptions
-
getClifProActiveConfig
-
isRunWithScheduler
public boolean isRunWithScheduler() -
getExecutable
Gets the executable path of this Clif on the given target system.- Parameters:
launcher- object- Returns:
- the executable path
- Throws:
InterruptedException- the call was interruptedIOException- exception trying to resolve the path
-
getExists
Checks executable existence- Returns:
- true if the executable exists.
- Throws:
InterruptedException- the call was interruptedIOException- exception trying to find the executable
-
forEnvironment
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<ClifInstallation>
-
forNode
public ClifInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNodein interfaceNodeSpecific<ClifInstallation>- Throws:
IOExceptionInterruptedException
-