Enum UploadParametersFactoryImpl

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

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

  • Method Details

    • values

      public static UploadParametersFactoryImpl[] 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 UploadParametersFactoryImpl 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 UploadParameters create(String projectName, RailflowUploadJobConfiguration jobConfiguration, EnvVars envVars)
      Description copied from interface: UploadParametersFactory
      Create new UploadParameters
      Specified by:
      create in interface UploadParametersFactory
      Parameters:
      projectName - the name of the TestRail project.
      jobConfiguration - job configuration.
      envVars - Jenkins environment variables.
      Returns:
      a new UploadParameters instance, implementations must not return null.