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 Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncreate(String projectName, RailflowUploadJobConfiguration jobConfiguration, EnvVars envVars) Create newUploadParametersstatic UploadParametersFactoryImplReturns the enum constant of this type with the specified name.static UploadParametersFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
THE_INSTANCE
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
create
public UploadParameters create(String projectName, RailflowUploadJobConfiguration jobConfiguration, EnvVars envVars) Description copied from interface:UploadParametersFactoryCreate newUploadParameters- Specified by:
createin interfaceUploadParametersFactory- Parameters:
projectName- the name of the TestRail project.jobConfiguration- job configuration.envVars- Jenkins environment variables.- Returns:
- a new
UploadParametersinstance, implementations must not return null.
-