Class AbstractValidator
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.util.validation.AbstractValidator
- Direct Known Subclasses:
ATXValidator
,JUnitValidator
,ReportGeneratorValidator
,TestValidator
,TMSValidator
,ToolValidator
Common base class for the
TestValidator
and ToolValidator
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidatePackageFile
(String testFile) Validates the package file.validateParameterizedValue
(String value) Validates parameterized form value.validateProjectFile
(String testFile) Validates the project file.validateRequiredParamValue
(String value) Validates required and parameterized form value.validateRequiredValue
(String value) Validates required form value.validateTimeout
(String timeout, int defaultTimeout) Validates the timeout.
-
Field Details
-
PARAMETER
Character identifying parameterized values.- See Also:
-
-
Constructor Details
-
AbstractValidator
public AbstractValidator()
-
-
Method Details
-
validateTimeout
Validates the timeout.- Parameters:
timeout
- the timeoutdefaultTimeout
- the default timeout- Returns:
- the form validation
-
validateRequiredValue
Validates required form value.- Parameters:
value
- the form value- Returns:
- the form validation
-
validateParameterizedValue
Validates parameterized form value.- Parameters:
value
- the form value- Returns:
- the form validation
-
validateRequiredParamValue
Validates required and parameterized form value.- Parameters:
value
- the form value- Returns:
- the form validation
-
validatePackageFile
Validates the package file.- Parameters:
testFile
- the test file- Returns:
- the form validation
-
validateProjectFile
Validates the project file.- Parameters:
testFile
- the test file- Returns:
- the form validation
-