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 -
Constructor Summary
ConstructorsConstructorDescriptionPowerShellInstallation(String name, String powershellHome, String executable, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionforEnvironment(EnvVars environment) forNode(Node node, TaskListener log) static StringgetDefaultPowershellWhenNoConfiguration(Boolean isRunningOnWindows) getHome()static voidonLoaded()protected ObjectMethods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getName, getProperties, toString, translate, translate, translateFor, writeReplaceMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
PowerShellInstallation
@DataBoundConstructor public PowerShellInstallation(String name, String powershellHome, String executable, 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
-
getPowershellHome
-
getHome
- Overrides:
getHomein classToolInstallation
-
getPowerShellBinary
-
getExecutable
-
readResolve
- Overrides:
readResolvein classToolInstallation
-