Package org.jenkinsci.plugins.ansible
Class AnsibleInstallation
java.lang.Object
hudson.tools.ToolInstallation
org.jenkinsci.plugins.ansible.AnsibleInstallation
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstallation>,EnvironmentSpecific<AnsibleInstallation>,NodeSpecific<AnsibleInstallation>,Serializable
public class AnsibleInstallation
extends ToolInstallation
implements EnvironmentSpecific<AnsibleInstallation>, NodeSpecific<AnsibleInstallation>, Serializable
ToolInstallation for Ansible- 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
ConstructorsConstructorDescriptionAnsibleInstallation(String name, String home, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionstatic AnsibleInstallation[]voidbuildEnvVars(EnvVars env) forEnvironment(EnvVars environment) forNode(Node node, TaskListener log) static StringgetExecutable(String name, AnsibleCommand command, Node node, TaskListener listener, EnvVars env) static AnsibleInstallationgetInstallation(String ansibleInstallation) Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
AnsibleInstallation
@DataBoundConstructor public AnsibleInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
forEnvironment
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<AnsibleInstallation>
-
forNode
public AnsibleInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNodein interfaceNodeSpecific<AnsibleInstallation>- Throws:
IOExceptionInterruptedException
-
getExecutable
public static String getExecutable(String name, AnsibleCommand command, Node node, TaskListener listener, EnvVars env) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
allInstallations
-
getInstallation
- Throws:
IOException
-
buildEnvVars
- Overrides:
buildEnvVarsin classToolInstallation
-