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 ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionFlywayInstallation(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, writeReplaceMethods 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:
forEnvironmentin interfaceEnvironmentSpecific<FlywayInstallation>
-
forNode
public FlywayInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNodein interfaceNodeSpecific<FlywayInstallation>- Throws:
IOExceptionInterruptedException
-
allInstallations
-
getHome
- Overrides:
getHomein classToolInstallation
-
getExecutable
- Throws:
IOExceptionInterruptedException
-