Enum TestRailParametersFactoryImpl

java.lang.Object
java.lang.Enum<TestRailParametersFactoryImpl>
io.jenkins.plugins.railflow.jenkins.testresults.TestRailParametersFactoryImpl
All Implemented Interfaces:
TestRailParametersFactory, Serializable, Comparable<TestRailParametersFactoryImpl>

public enum TestRailParametersFactoryImpl extends Enum<TestRailParametersFactoryImpl> implements TestRailParametersFactory
Default implementation of TestRailParametersFactory.
Author:
Sergey Oplavin
  • Enum Constant Details

  • Method Details

    • values

      public static TestRailParametersFactoryImpl[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TestRailParametersFactoryImpl valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • create

      public TestRailParameters create(GlobalConfig globalConfig, String testRailServerName, String overriddenUserName, Secret overriddenPassword)
      Description copied from interface: TestRailParametersFactory
      Create new TestRailParameters object.
      Specified by:
      create in interface TestRailParametersFactory
      Parameters:
      globalConfig - global configuration.
      testRailServerName - name of a TR server.
      overriddenUserName - username
      overriddenPassword - password
      Returns:
      an instance of TestRailParameters, implementations must never return null.