Interface FunctionValidationOnDataspace

  • All Superinterfaces:
    FunctionValidation
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface FunctionValidationOnDataspace
    extends FunctionValidation
    Validation of a function at the dataspace level.
    Since:
    4.2.0
    See Also:
    FunctionDefinition.getValidation()
    • Method Detail

      • validate

        void validate​(ValidationContextOnDataspace validationContext)
               throws com.orchestranetworks.addon.dpra.function.validation.InvalidFunctionException
        Validates the current context on dataspace.
        Parameters:
        validationContext - The validation context.
        Throws:
        com.orchestranetworks.addon.dpra.function.validation.InvalidFunctionException - If the current context has invalid data.