public class NoneCaseIdGenerator extends Object implements CaseIdGenerator
org.jbpm.cases.generator.caseid.param| Constructor and Description |
|---|
NoneCaseIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generate(String prefix,
Map<String,Object> optionalParameters)
Generates next value for given prefix.
|
String |
getIdentifier()
Identifier of the generator so it can be found and registered at runtime
|
void |
register(String prefix)
Should be called only one time per given prefix.
|
void |
unregister(String prefix)
Unregisters given prefix from the generator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveCaseIdPrefixpublic void register(String prefix)
CaseIdGeneratorregister in interface CaseIdGeneratorprefix - unique prefix that should be used for generating case identifierspublic void unregister(String prefix)
CaseIdGeneratorunregister in interface CaseIdGeneratorprefix - unique prefix that should be used for generating case identifierspublic String generate(String prefix, Map<String,Object> optionalParameters) throws CasePrefixNotFoundException
CaseIdGeneratorgenerate in interface CaseIdGeneratorprefix - unique prefix that should be used for generating case identifiersoptionalParameters - map of optionalParameters that might be helpful for implementationCasePrefixNotFoundException - in case given prefix was not registeredpublic String getIdentifier()
CaseIdGeneratorgetIdentifier in interface CaseIdGeneratorCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.