Class ValidateStepExecution
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.StepExecution
-
- org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution<ValidateResult>
-
- io.apimap.plugin.jenkins.step.validate.ValidateStepExecution
-
- All Implemented Interfaces:
Serializable
public class ValidateStepExecution extends org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution<ValidateResult>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILEPATH_IS_A_NULL_OBJECT
static String
METADATA_FILE_NOT_FOUND
static String
STEP_COMPLETED_SUCCESSFULLY
static String
TAXONOMY_FILE_NOT_FOUND
static String
UNABLE_TO_PARSE_METADATA_ERROR_MESSAGE
static String
UNABLE_TO_PARSE_TAXONOMY_ERROR_MESSAGE
static String
UNABLE_TO_READ_METADATA_ERROR_MESSAGE
static String
UNABLE_TO_READ_TAXONOMY_ERROR_MESSAGE
-
Constructor Summary
Constructors Constructor Description ValidateStepExecution(ValidateStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValidateResult
failure(String description, ValidateResult.Status result)
protected ValidateResult
run()
protected ValidateResult
success(String description)
-
Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution
start, stop
-
-
-
-
Field Detail
-
FILEPATH_IS_A_NULL_OBJECT
public static final String FILEPATH_IS_A_NULL_OBJECT
- See Also:
- Constant Field Values
-
UNABLE_TO_READ_METADATA_ERROR_MESSAGE
public static final String UNABLE_TO_READ_METADATA_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
METADATA_FILE_NOT_FOUND
public static final String METADATA_FILE_NOT_FOUND
- See Also:
- Constant Field Values
-
UNABLE_TO_PARSE_METADATA_ERROR_MESSAGE
public static final String UNABLE_TO_PARSE_METADATA_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
TAXONOMY_FILE_NOT_FOUND
public static final String TAXONOMY_FILE_NOT_FOUND
- See Also:
- Constant Field Values
-
UNABLE_TO_READ_TAXONOMY_ERROR_MESSAGE
public static final String UNABLE_TO_READ_TAXONOMY_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
UNABLE_TO_PARSE_TAXONOMY_ERROR_MESSAGE
public static final String UNABLE_TO_PARSE_TAXONOMY_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
STEP_COMPLETED_SUCCESSFULLY
public static final String STEP_COMPLETED_SUCCESSFULLY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ValidateStepExecution
public ValidateStepExecution(ValidateStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
Method Detail
-
failure
protected ValidateResult failure(String description, ValidateResult.Status result)
-
success
protected ValidateResult success(String description)
-
run
protected ValidateResult run() throws Exception
- Specified by:
run
in classorg.jenkinsci.plugins.workflow.steps.SynchronousStepExecution<ValidateResult>
- Throws:
Exception
-
-