Class UnsupportedMultiTenantFeaturesValidator
java.lang.Object
io.camunda.zeebe.engine.processing.deployment.model.validation.UnsupportedMultiTenantFeaturesValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate
(DeploymentResource resource, List<ExecutableProcess> executableProcesses, String tenantId) Validates a list of processes for containing unsupported elements when used with multi-tenancy.
-
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 validatedexecutableProcesses
- the list of processes in this resourcetenantId
- 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.
-