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, CommandContext commandContext) static int
getMaxAllowedLocalVariablesPerInstance
(String tenantId, CommandContext commandContext) static int
getMaxAllowedVariablesPerInstance
(String tenantId, CommandContext commandContext) protected static int
getThresholdValue
(String tenantId, String attributeName, CommandContext commandContext, ToIntBiFunction<String, FlowableThresholdProvider> valueProvider)
-
Constructor Details
-
FlowableThresholdUtil
public FlowableThresholdUtil()
-
-
Method Details
-
getMaxAllowedElementRepetitions
-
getMaxAllowedVariablesPerInstance
-
getMaxAllowedLocalVariablesPerInstance
public static int getMaxAllowedLocalVariablesPerInstance(String tenantId, CommandContext commandContext) -
getThresholdValue
protected static int getThresholdValue(String tenantId, String attributeName, CommandContext commandContext, ToIntBiFunction<String, FlowableThresholdProvider> valueProvider)
-