public interface RuleIrVariablesGenerator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTAINER_PATH_SEPARATOR |
static java.lang.String |
DEFAULT_VARIABLES_CONTAINER_ID |
| Modifier and Type | Method and Description |
|---|---|
void |
closeContainer()
Closes the current container.
|
RuleIrVariablesContainer |
createContainer(java.lang.String id)
Creates a new container and uses the current one as parent.
|
RuleIrLocalVariablesContainer |
createLocalContainer()
Creates a new local container.
|
java.lang.String |
generateLocalVariable(RuleIrLocalVariablesContainer container,
java.lang.Class<?> type)
Generates a new variable for the given local container and type.
|
java.lang.String |
generateVariable(java.lang.Class<?> type)
Generates a new variable for the given type.
|
RuleIrVariablesContainer |
getCurrentContainer()
Returns the current container.
|
RuleIrVariablesContainer |
getRootContainer()
Returns the root container.
|
static final java.lang.String DEFAULT_VARIABLES_CONTAINER_ID
static final java.lang.String CONTAINER_PATH_SEPARATOR
RuleIrVariablesContainer getRootContainer()
RuleIrVariablesContainer getCurrentContainer()
RuleIrVariablesContainer createContainer(java.lang.String id)
id - - the id for the new containervoid closeContainer()
java.lang.String generateVariable(java.lang.Class<?> type)
type - - the typeRuleIrLocalVariablesContainer createLocalContainer()
java.lang.String generateLocalVariable(RuleIrLocalVariablesContainer container, java.lang.Class<?> type)
type - - the typeCopyright © 2018 SAP SE. All Rights Reserved.