public interface CodeSource
Code sources are always compiled as a single class.
Modifier and Type | Interface and Description |
---|---|
static class |
CodeSource.Type |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CODE_SOURCE_NAME
The name of the built-in default, static code source.
|
static java.lang.String |
DYNAMIC_CODE_SOURCE_NAME
The name of the built-in dynamic code source.
|
static oracle.adf.share.logging.ADFLogger |
mLogger |
static java.lang.String |
PERSONALIZED_CODE_SOURCE_NAME
The name of the built-in personalization code source.
|
static java.lang.String |
TMP_CODE_SOURCE_NAME
The name of the built-in temporary code source.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addExpression(ExprDef exprDef) |
java.lang.String |
getCacheKey()
The key that should be used to cache the byte code that is generated
for the code source.
|
java.lang.String |
getClassName()
The name of the class that will be generated by the compiler for
the code source.
|
java.lang.String |
getExpressionSource(ExprDef exprDef) |
groovy.lang.GroovyCodeSource |
getGroovyCodeSource(boolean forCompile)
Retuns a groovy code source for the ADF code source.
|
java.lang.String |
getName()
The code source name.
|
CodeSource.Type |
getType() |
boolean |
hasExpression(ExprDef exprDef)
Return true if the CodeSource defines an expression for the specified
expresmion.
|
ExprDef |
lookupExprDef(OwnerType type,
java.lang.String path) |
boolean |
removeExpression(ExprDef exprDef) |
static final oracle.adf.share.logging.ADFLogger mLogger
static final java.lang.String DEFAULT_CODE_SOURCE_NAME
static final java.lang.String DYNAMIC_CODE_SOURCE_NAME
static final java.lang.String PERSONALIZED_CODE_SOURCE_NAME
static final java.lang.String TMP_CODE_SOURCE_NAME
java.lang.String getName()
java.lang.String getClassName()
java.lang.String getCacheKey()
boolean hasExpression(ExprDef exprDef)
exprDef
- an expression def. If null this will return true
if the CodeSource defines any expression.groovy.lang.GroovyCodeSource getGroovyCodeSource(boolean forCompile)
ExprDef lookupExprDef(OwnerType type, java.lang.String path)
java.lang.String getExpressionSource(ExprDef exprDef)
boolean addExpression(ExprDef exprDef)
boolean removeExpression(ExprDef exprDef)
CodeSource.Type getType()