Package hudson.plugins.powershell
Class PowerShellInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
hudson.plugins.powershell.PowerShellInstallation
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<PowerShellInstallation>
,NodeSpecific<PowerShellInstallation>
,Serializable
public class PowerShellInstallation
extends ToolInstallation
implements NodeSpecific<PowerShellInstallation>, EnvironmentSpecific<PowerShellInstallation>
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPowerShellInstallation
(String name, String home, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionforEnvironment
(EnvVars environment) forNode
(Node node, TaskListener log) static String
getDefaultPowershellWhenNoConfiguration
(Boolean isRunningOnWindows) static void
onLoaded()
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 Details
-
DEFAULTWINDOWS
- See Also:
-
DEFAULTLINUX
- See Also:
-
-
Constructor Details
-
PowerShellInstallation
@DataBoundConstructor public PowerShellInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
forNode
public PowerShellInstallation forNode(@NonNull Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNode
in interfaceNodeSpecific<PowerShellInstallation>
- Throws:
IOException
InterruptedException
-
forEnvironment
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<PowerShellInstallation>
-
getDefaultPowershellWhenNoConfiguration
-
onLoaded
-
getPowerShellBinary
-