Package org.aksw.faraday_cage.engine
Class ValidatableParameterMap.Builder
java.lang.Object
org.aksw.faraday_cage.engine.ValidatableParameterMap.Builder
- Enclosing class:
- ValidatableParameterMap
Builder for
ValidatableParameterMap-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build anValidatableParameterMapinstance from the current state of the BuilderdeclareProperty(Property property)Declare a property to be alloweddeclareValidationShape(Model validationShape)Declare a validationShape
-
Method Details
-
declareProperty
Declare a property to be allowed- Parameters:
property- property declared- Returns:
- this instance for method chaining
-
declareValidationShape
Declare a validationShape- Parameters:
validationShape- a Supplier of a SHACL graph- Returns:
- this instance for method chaining
-
build
Build anValidatableParameterMapinstance from the current state of the Builder- Returns:
- a fresh
ValidatableParameterMapinstance
-