Class CamundaSpringBootUtil
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.util.CamundaSpringBootUtil
-
public final class CamundaSpringBootUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Optional<T>
cast(Object obj, Class<T> type)
static SpringProcessEngineConfiguration
get(ProcessEngine processEngine)
static SpringProcessEngineConfiguration
initCustomFields(SpringProcessEngineConfiguration configuration)
static <T> List<T>
join(List<? extends T> existing, List<? extends T> add)
static Optional<ProcessEngineImpl>
processEngineImpl(ProcessEngine processEngine)
static SpringProcessEngineConfiguration
springProcessEngineConfiguration()
static Optional<SpringProcessEngineConfiguration>
springProcessEngineConfiguration(ProcessEngineConfiguration configuration)
-
-
-
Method Detail
-
cast
public static <T> Optional<T> cast(Object obj, Class<T> type)
- Parameters:
obj
- that should be castedtype
- to cast- Returns:
- optional casted object
-
springProcessEngineConfiguration
public static SpringProcessEngineConfiguration springProcessEngineConfiguration()
-
processEngineImpl
public static Optional<ProcessEngineImpl> processEngineImpl(ProcessEngine processEngine)
-
springProcessEngineConfiguration
public static Optional<SpringProcessEngineConfiguration> springProcessEngineConfiguration(ProcessEngineConfiguration configuration)
-
get
public static SpringProcessEngineConfiguration get(ProcessEngine processEngine)
-
join
public static <T> List<T> join(List<? extends T> existing, List<? extends T> add)
- Type Parameters:
T
- type of elements- Parameters:
existing
- the current values (may be null or empty)add
- the additional values (may be null or empty)- Returns:
- new non-null list containing all elements of existing and add.
-
initCustomFields
public static SpringProcessEngineConfiguration initCustomFields(SpringProcessEngineConfiguration configuration)
-
-