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:
  • Constructor Details

    • GlobalConstant

      @DataBoundConstructor public GlobalConstant(String name, String value)
      Instantiates a new GlobalConstant.
      Parameters:
      name - the global constant name
      value - the global constant value
  • Method Details

    • 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 interface ExpandableConfig
      Parameters:
      envVars - the build environment variables
      Returns:
      the expanded specific configuration
    • equals

      public final boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object