Class GlobalConstant
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GlobalConstant>
-
- de.tracetronic.jenkins.plugins.ecutest.test.config.GlobalConstant
-
- All Implemented Interfaces:
ExpandableConfig
,Describable<GlobalConstant>
,Serializable
public class GlobalConstant extends AbstractDescribableImpl<GlobalConstant> implements Serializable, ExpandableConfig
Class holding a global constant.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlobalConstant.DescriptorImpl
DescriptorImpl forGlobalConstant
.
-
Constructor Summary
Constructors Constructor Description GlobalConstant(String name, String value)
Instantiates a newGlobalConstant
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
GlobalConstant
expand(EnvVars envVars)
Expands the test configuration parameters by using the current build environment variables.String
getName()
String
getValue()
int
hashCode()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
GlobalConstant
@DataBoundConstructor public GlobalConstant(String name, String value)
Instantiates a newGlobalConstant
.- Parameters:
name
- the global constant namevalue
- the global constant value
-
-
Method Detail
-
getName
public String getName()
-
getValue
public String getValue()
-
expand
public GlobalConstant expand(EnvVars envVars)
Description copied from interface:ExpandableConfig
Expands the test configuration parameters by using the current build environment variables.- Specified by:
expand
in interfaceExpandableConfig
- Parameters:
envVars
- the build environment variables- Returns:
- the expanded specific configuration
-
-