Package sp.sd.flywayrunner.installation
Class FlywayInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
sp.sd.flywayrunner.installation.FlywayInstallation
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<FlywayInstallation>
,NodeSpecific<FlywayInstallation>
,Serializable
public class FlywayInstallation
extends ToolInstallation
implements NodeSpecific<FlywayInstallation>, EnvironmentSpecific<FlywayInstallation>
Flyway installation. The "flywayHome" may either be the full path to the executable, or the directory in which
the executable resides. This dual meaning allows backwards compatibility with previous versions of the plugin.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionFlywayInstallation
(String name, String home, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionstatic FlywayInstallation[]
forEnvironment
(EnvVars environment) forNode
(Node node, TaskListener log) getExecutable
(Launcher launcher) getHome()
Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
FlywayInstallation
@DataBoundConstructor public FlywayInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
forEnvironment
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<FlywayInstallation>
-
forNode
public FlywayInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNode
in interfaceNodeSpecific<FlywayInstallation>
- Throws:
IOException
InterruptedException
-
allInstallations
-
getHome
- Overrides:
getHome
in classToolInstallation
-
getExecutable
- Throws:
IOException
InterruptedException
-