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.ToolConverterNested 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 StringgetDefaultPowershellWhenNoConfiguration(Boolean isRunningOnWindows) static voidonLoaded()Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplaceMethods 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:
forNodein interfaceNodeSpecific<PowerShellInstallation>- Throws:
IOExceptionInterruptedException
-
forEnvironment
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<PowerShellInstallation>
-
getDefaultPowershellWhenNoConfiguration
-
onLoaded
-
getPowerShellBinary
-