Class IdGeneratorConfiguration
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.configuration.id.IdGeneratorConfiguration
-
public class IdGeneratorConfiguration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFIXED
static java.lang.String
PROPERTY_NAME
static java.lang.String
SIMPLE
static java.lang.String
STRONG
-
Constructor Summary
Constructors Constructor Description IdGeneratorConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdGenerator
prefixedUuidGenerator(java.lang.String applicationName)
IdGenerator
strongUuidGenerator()
-
-
-
Field Detail
-
PROPERTY_NAME
public static final java.lang.String PROPERTY_NAME
- See Also:
- Constant Field Values
-
SIMPLE
public static final java.lang.String SIMPLE
- See Also:
- Constant Field Values
-
STRONG
public static final java.lang.String STRONG
- See Also:
- Constant Field Values
-
PREFIXED
public static final java.lang.String PREFIXED
- See Also:
- Constant Field Values
-
-
Method Detail
-
strongUuidGenerator
@Bean @ConditionalOnMissingBean(IdGenerator.class) @ConditionalOnProperty(prefix="camunda.bpm", name="id-generator", havingValue="strong", matchIfMissing=true) public IdGenerator strongUuidGenerator()
-
prefixedUuidGenerator
@Bean @ConditionalOnMissingBean(IdGenerator.class) @ConditionalOnProperty(prefix="camunda.bpm", name="id-generator", havingValue="prefixed") public IdGenerator prefixedUuidGenerator(@Value("${spring.application.name}") java.lang.String applicationName)
-
-