Class FormValidations
java.lang.Object
au.com.centrumsystems.hudson.plugin.buildpipeline.FormValidations
Form validation class for validation errors.
- Author:
- Mathieu Mitchell
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormValidationReturns form validation error when no project is specified.static FormValidationnoSuchProject(String projectName, String nearestProjectName) Returns form validation error when project does not exist.static FormValidationnotBuildable(String projectName) Returns form validation error when project is not buildable.
-
Method Details
-
noProjectSpecified
Returns form validation error when no project is specified.- Returns:
- form validation error when no project is specified.
-
notBuildable
Returns form validation error when project is not buildable.- Parameters:
projectName- name of project that is not buildable- Returns:
- form validation error when project is not buildable.
-
noSuchProject
Returns form validation error when project does not exist.- Parameters:
projectName- name of project that does not existnearestProjectName- name of a project that might be near the non-existent project- Returns:
- form validation error when project does not exist.
-