java.lang.Object
org.apache.nifi.components.ValidationResult.Builder
- Enclosing class:
ValidationResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()explanation(String explanation) Defaults to empty stringDefaults to empty stringDefaults to empty stringvalid(boolean valid) Defaults to false
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
valid
Defaults to false- Parameters:
valid- true if is valid; false otherwise- Returns:
- the builder
-
input
Defaults to empty string- Parameters:
input- what was validated- Returns:
- the builder
-
explanation
Defaults to empty string- Parameters:
explanation- of validation result- Returns:
- the builder
-
subject
Defaults to empty string- Parameters:
subject- the thing that was validated- Returns:
- the builder
-
build
-