Class CamundaSpringBootUtil
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.util.CamundaSpringBootUtil
-
public final class CamundaSpringBootUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.Optional<T>
cast(java.lang.Object obj, java.lang.Class<T> type)
static SpringProcessEngineConfiguration
get(ProcessEngine processEngine)
static SpringProcessEngineConfiguration
initCustomFields(SpringProcessEngineConfiguration configuration)
static <T> java.util.List<T>
join(java.util.List<? extends T> existing, java.util.List<? extends T> add)
static java.util.Optional<ProcessEngineImpl>
processEngineImpl(ProcessEngine processEngine)
static SpringProcessEngineConfiguration
springProcessEngineConfiguration()
static java.util.Optional<SpringProcessEngineConfiguration>
springProcessEngineConfiguration(ProcessEngineConfiguration configuration)
-
-
-
Method Detail
-
cast
public static <T> java.util.Optional<T> cast(java.lang.Object obj, java.lang.Class<T> type)
- Parameters:
obj
- that should be castedtype
- to cast- Returns:
- optional casted object
-
springProcessEngineConfiguration
public static SpringProcessEngineConfiguration springProcessEngineConfiguration()
-
processEngineImpl
public static java.util.Optional<ProcessEngineImpl> processEngineImpl(ProcessEngine processEngine)
-
springProcessEngineConfiguration
public static java.util.Optional<SpringProcessEngineConfiguration> springProcessEngineConfiguration(ProcessEngineConfiguration configuration)
-
get
public static SpringProcessEngineConfiguration get(ProcessEngine processEngine)
-
join
public static <T> java.util.List<T> join(java.util.List<? extends T> existing, java.util.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)
-
-