Class FlowableThresholdUtil
java.lang.Object
com.flowable.platform.engine.impl.sandbox.repetition.FlowableThresholdUtil
- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getMaxAllowedElementRepetitions
(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) static int
getMaxAllowedLocalVariablesPerInstance
(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) static int
getMaxAllowedVariablesPerInstance
(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected static int
getThresholdValue
(String tenantId, String attributeName, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ToIntBiFunction<String, FlowableThresholdProvider> valueProvider)
-
Constructor Details
-
FlowableThresholdUtil
public FlowableThresholdUtil()
-
-
Method Details
-
getMaxAllowedElementRepetitions
public static int getMaxAllowedElementRepetitions(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getMaxAllowedVariablesPerInstance
public static int getMaxAllowedVariablesPerInstance(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getMaxAllowedLocalVariablesPerInstance
public static int getMaxAllowedLocalVariablesPerInstance(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getThresholdValue
protected static int getThresholdValue(String tenantId, String attributeName, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ToIntBiFunction<String, FlowableThresholdProvider> valueProvider)
-