|
Drools :: Decision Tables 6.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.decisiontable.parser.ActionType
public class ActionType
Simple holder class identifying a condition, action or attribute column, also including the rule name and a comment (called "description"). Its objects are stored in a map in the main listener class, to track what type of values you can expect to see in the rows directly below the column header, identified by an ActionType.Code.
| Nested Class Summary | |
|---|---|
static class |
ActionType.Code
|
| Field Summary | |
|---|---|
static EnumSet<ActionType.Code> |
ATTRIBUTE_CODE_SET
|
| Method Summary | |
|---|---|
void |
addCellValue(int row,
int column,
String content,
boolean _escapeQuotesFlag)
Values are added to populate the template. |
static void |
addNewActionType(Map<Integer,ActionType> actionTypeMap,
String value,
int column,
int row)
Create a new action type that matches this cell, and add it to the map, keyed on that column. |
void |
addTemplate(int row,
int column,
String content)
This is where a code snippet template is added. |
static EnumSet<ActionType.Code> |
getAttributeCodeSet()
|
ActionType.Code |
getCode()
Retrieves the code. |
SourceBuilder |
getSourceBuilder()
|
static Map<String,ActionType.Code> |
getTag2code()
|
void |
setSourceBuilder(SourceBuilder src)
This is only set for LHS or RHS building. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final EnumSet<ActionType.Code> ATTRIBUTE_CODE_SET
| Method Detail |
|---|
public static EnumSet<ActionType.Code> getAttributeCodeSet()
public static Map<String,ActionType.Code> getTag2code()
public ActionType.Code getCode()
public void setSourceBuilder(SourceBuilder src)
public SourceBuilder getSourceBuilder()
public static void addNewActionType(Map<Integer,ActionType> actionTypeMap,
String value,
int column,
int row)
public void addTemplate(int row,
int column,
String content)
public void addCellValue(int row,
int column,
String content,
boolean _escapeQuotesFlag)
|
Drools :: Decision Tables 6.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||