|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openarchitectureware.workflow.lib.AbstractWorkflowComponent
org.openarchitectureware.workflow.ao.AbstractWorkflowAdvice
org.openarchitectureware.expression.AbstractExpressionsUsingWorkflowAdvice
org.openarchitectureware.xpand2.GeneratorAdvice
public class GeneratorAdvice
Weaves aspect templates into a generator component.
Name | Multiplicity | Type | Description |
---|---|---|---|
adviceTarget | 1 | String | The id of a Generator component |
advices | 0..n | String | Comma seperated list of qualified aspect templates |
advice | 0..n | String | Qualified name of an aspect template |
extensionAdvice | 0..n | String | Comma seperated list of qualified aspect extensions |
metaModel | 0..n | org.openarchitectureware.type.MetaModel | Additional metamodels needed for the advices. |
globalVarDef | 0..n | GlobalVarDef | Additional global vars needed for the advices. |
Field Summary |
---|
Fields inherited from class org.openarchitectureware.expression.AbstractExpressionsUsingWorkflowAdvice |
---|
metaModels |
Constructor Summary | |
---|---|
GeneratorAdvice()
|
Method Summary | |
---|---|
void |
addAdvice(java.lang.String advice)
Adds an advice. |
void |
addAdvices(java.lang.String advices)
Deprecated. Use addAdvice(String) instead. |
void |
addExtensionAdvice(java.lang.String extensionAdvice)
Adds an extension advice, |
void |
addExtensionAdvices(java.lang.String extensionAdvices)
Deprecated. Use addExtensionAdvice(String) instead. |
void |
checkConfiguration(Issues issues)
Validates the configuration before invocation. |
java.lang.String |
getComponentName()
Override this method by custom components. |
java.lang.String |
getLogMessage()
Returns the log message, |
void |
setFileEncoding(java.lang.String fileEncoding)
Sets the file encoding to use for the target generator. |
void |
weave(WorkflowComponent c,
Issues issues)
Weaves the advices into the specified component . |
Methods inherited from class org.openarchitectureware.expression.AbstractExpressionsUsingWorkflowAdvice |
---|
addGlobalVarDef, addMetaModel |
Methods inherited from class org.openarchitectureware.workflow.ao.AbstractWorkflowAdvice |
---|
buildList, getAdviceTarget, invoke, setAdviceTarget |
Methods inherited from class org.openarchitectureware.workflow.lib.AbstractWorkflowComponent |
---|
checkRequiredConfigProperty, getContainer, getId, getLocation, setContainer, setId, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneratorAdvice()
Method Detail |
---|
@Deprecated public void addAdvices(java.lang.String advices)
addAdvice(String)
instead.
@Deprecated public void addExtensionAdvices(java.lang.String extensionAdvices)
addExtensionAdvice(String)
instead.
public void addAdvice(java.lang.String advice)
advice
- the advicepublic void addExtensionAdvice(java.lang.String extensionAdvice)
extensionAdvice
- the extension advicepublic void setFileEncoding(java.lang.String fileEncoding)
fileEncoding
- Encoding string, e.g. 'ISO-8859-1'https://bugs.eclipse.org/bugs/show_bug.cgi?id=195042
public void checkConfiguration(Issues issues)
WorkflowComponent
checkConfiguration
in interface WorkflowComponent
checkConfiguration
in class AbstractWorkflowAdvice
issues
- facility for reporting configuration issues.AbstractWorkflowAdvice.checkConfiguration(org.openarchitectureware.workflow.issues.Issues)
public void weave(WorkflowComponent c, Issues issues)
AbstractWorkflowAdvice
component
.
weave
in class AbstractExpressionsUsingWorkflowAdvice
c
- the componentissues
- facility for reporting possible issues during weaving.AbstractExpressionsUsingWorkflowAdvice.weave(org.openarchitectureware.workflow.WorkflowComponent,
org.openarchitectureware.workflow.issues.Issues)
public java.lang.String getLogMessage()
WorkflowComponentWithID
getLogMessage
in interface WorkflowComponentWithID
getLogMessage
in class AbstractWorkflowComponent
WorkflowComponentWithID.getLogMessage()
public java.lang.String getComponentName()
AbstractWorkflowComponent
getComponentName
in interface WorkflowComponent
getComponentName
in class AbstractWorkflowComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |