Package org.jvnet.hudson.plugins
Class SbtPluginBuilder.SbtInstallation
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ToolInstallation>
-
- hudson.tools.ToolInstallation
-
- org.jvnet.hudson.plugins.SbtPluginBuilder.SbtInstallation
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<SbtPluginBuilder.SbtInstallation>
,NodeSpecific<SbtPluginBuilder.SbtInstallation>
,Serializable
- Enclosing class:
- SbtPluginBuilder
public static final class SbtPluginBuilder.SbtInstallation extends ToolInstallation implements EnvironmentSpecific<SbtPluginBuilder.SbtInstallation>, NodeSpecific<SbtPluginBuilder.SbtInstallation>, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SbtPluginBuilder.SbtInstallation.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SbtInstallation(String name, String home, String sbtArguments, List<? extends ToolProperty<?>> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SbtPluginBuilder.SbtInstallation
forEnvironment(EnvVars environment)
SbtPluginBuilder.SbtInstallation
forNode(Node node, TaskListener log)
String
getSbtArguments()
String
getSbtLaunchJar(Launcher launcher)
-
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
-
-
-
-
Constructor Detail
-
SbtInstallation
@DataBoundConstructor public SbtInstallation(String name, String home, String sbtArguments, List<? extends ToolProperty<?>> properties)
-
-
Method Detail
-
getSbtLaunchJar
public String getSbtLaunchJar(Launcher launcher) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
forEnvironment
public SbtPluginBuilder.SbtInstallation forEnvironment(EnvVars environment)
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<SbtPluginBuilder.SbtInstallation>
-
forNode
public SbtPluginBuilder.SbtInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
forNode
in interfaceNodeSpecific<SbtPluginBuilder.SbtInstallation>
- Throws:
IOException
InterruptedException
-
getSbtArguments
public String getSbtArguments()
-
-