public final class FlowHelpers extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FlowHelpers.PredefinedDuration |
Constructor and Description |
---|
FlowHelpers() |
Modifier and Type | Method and Description |
---|---|
static long |
durationToSeconds(String duration) |
static Object |
getDefaultValue(Class<?> clazz) |
static Object[] |
getInputParameters(Class<?>[] types,
Object[] values)
Returns array of parameter values which is the same as values if types
and values parameter have the same size.
|
static String |
secondsToDuration(Long seconds) |
static int |
taskPriorityToInt(String taskPriority) |
static String |
taskPriorityToString(Integer taskPriority) |
static Object[] |
validateInput(Method method,
Object[] args) |
public static long durationToSeconds(String duration)
public static int taskPriorityToInt(String taskPriority)
public static Object[] getInputParameters(Class<?>[] types, Object[] values)
Used to support backward compatible changes in activities and workflow APIs.
types
- array of parameter types to be processedvalues
- array of parameter values to be processed, can be nullCopyright © 2025. All rights reserved.