Class UnsupportedMultiTenantFeaturesValidator

java.lang.Object
io.camunda.zeebe.engine.processing.deployment.model.validation.UnsupportedMultiTenantFeaturesValidator

public final class UnsupportedMultiTenantFeaturesValidator extends Object
  • Constructor Details

    • UnsupportedMultiTenantFeaturesValidator

      public UnsupportedMultiTenantFeaturesValidator()
  • Method Details

    • validate

      public static Either<Failure,?> validate(DeploymentResource resource, List<ExecutableProcess> executableProcesses, String tenantId)
      Validates a list of processes for containing unsupported elements when used with multi-tenancy. Not all features are available for multi-tenancy yet. While multi-tenancy is enabled, all features are available for the default tenant.
      Parameters:
      resource - the resource file that's getting validated
      executableProcesses - the list of processes in this resource
      tenantId - the identifier of the tenant that owns the processes
      Returns:
      an Either of which the left contains the failure message if any unsupported elements are found and the owning tenant is non-default.