Class ZeebeElementValidator<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>

java.lang.Object
io.camunda.zeebe.model.bpmn.validation.zeebe.ZeebeElementValidator<T>
All Implemented Interfaces:
org.camunda.bpm.model.xml.validation.ModelElementValidator<T>

public final class ZeebeElementValidator<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance> extends Object implements org.camunda.bpm.model.xml.validation.ModelElementValidator<T>
  • Method Details

    • getElementType

      public Class<T> getElementType()
      Specified by:
      getElementType in interface org.camunda.bpm.model.xml.validation.ModelElementValidator<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
    • validate

      public void validate(T element, org.camunda.bpm.model.xml.validation.ValidationResultCollector validationResultCollector)
      Specified by:
      validate in interface org.camunda.bpm.model.xml.validation.ModelElementValidator<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
    • hasNonEmptyAttribute

      public ZeebeElementValidator<T> hasNonEmptyAttribute(Function<T,String> attributeSupplier, String attributeName)
    • verifyThat

      public static <T extends org.camunda.bpm.model.xml.instance.ModelElementInstance> ZeebeElementValidator<T> verifyThat(Class<T> elementType)