Class ATXInstallation
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ATXInstallation>
-
- de.tracetronic.jenkins.plugins.ecutest.report.atx.installation.ATXInstallation
-
- All Implemented Interfaces:
Describable<ATXInstallation>
,Serializable
public class ATXInstallation extends AbstractDescribableImpl<ATXInstallation> implements Serializable
Class holding all the ATX settings.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ATXInstallation.DescriptorImpl
DescriptorImpl ofATXInstallation
.static class
ATXInstallation.SaveableListenerImpl
Listen toSaveable
actions of this descriptor in order to update the default ATX setting values when invoked by CasC configuration reloads.
-
Constructor Summary
Constructors Constructor Description ATXInstallation(String name, String toolName, ATXConfig config)
Instantiates a newATXInstallation
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ATXInstallation[]
all()
Gets all ATX installations.static ATXInstallation
get(String name)
Gets the ATX installation by name.ATXConfig
getConfig()
String
getName()
String
getToolName()
Gets the tool name.-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
ATXInstallation
@DataBoundConstructor public ATXInstallation(String name, String toolName, ATXConfig config)
Instantiates a newATXInstallation
.- Parameters:
name
- the nametoolName
- the tool nameconfig
- the configuration
-
-
Method Detail
-
all
public static ATXInstallation[] all()
Gets all ATX installations.- Returns:
- all available installations, never
null
-
get
@CheckForNull public static ATXInstallation get(String name)
Gets the ATX installation by name.- Parameters:
name
- the name- Returns:
- installation by name,
null
if not found
-
getName
public String getName()
-
getToolName
public String getToolName()
Gets the tool name.- Returns:
- the toolName
-
getConfig
public ATXConfig getConfig()
-
-