Package com.mathworks.ci
Class MatlabInstallation
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ToolInstallation>
-
- hudson.tools.ToolInstallation
-
- com.mathworks.ci.MatlabInstallation
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<MatlabInstallation>
,NodeSpecific<MatlabInstallation>
,Serializable
public class MatlabInstallation extends ToolInstallation implements EnvironmentSpecific<MatlabInstallation>, NodeSpecific<MatlabInstallation>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatlabInstallation.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 MatlabInstallation(String name)
MatlabInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvVars(EnvVars env)
MatlabInstallation
forEnvironment(EnvVars envVars)
MatlabInstallation
forNode(Node node, TaskListener log)
static MatlabInstallation[]
getAll()
static MatlabInstallation
getInstallation(String name)
static boolean
isEmpty()
-
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
MatlabInstallation
@DataBoundConstructor public MatlabInstallation(String name, @CheckForNull String home, List<? extends ToolProperty<?>> properties)
-
MatlabInstallation
public MatlabInstallation(String name)
-
-
Method Detail
-
forEnvironment
public MatlabInstallation forEnvironment(EnvVars envVars)
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<MatlabInstallation>
-
forNode
public MatlabInstallation forNode(@Nonnull Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
forNode
in interfaceNodeSpecific<MatlabInstallation>
- Throws:
IOException
InterruptedException
-
buildEnvVars
public void buildEnvVars(EnvVars env)
- Overrides:
buildEnvVars
in classToolInstallation
-
getAll
public static MatlabInstallation[] getAll()
-
isEmpty
public static boolean isEmpty()
-
getInstallation
public static MatlabInstallation getInstallation(String name)
-
-