|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.decisiontable.parser.ActionType
public class ActionType
Simple holder class identifying a condition or action column etc. This is 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. There are five types of columns relevant to a rule table.
Field Summary | |
---|---|
static int |
ACTION
|
static int |
ACTIVATIONGROUP
|
static int |
AGENDAGROUP
|
static int |
CONDITION
|
static int |
DESCRIPTION
|
static int |
DURATION
|
static int |
NAME
|
static int |
NOLOOP
|
static int |
PRIORITY
|
Method Summary | |
---|---|
void |
addCellValue(int col,
String content)
Values are added to populate the template. |
static void |
addNewActionType(Map 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 col,
String content)
This is where a code snippet template is added. |
SourceBuilder |
getSourceBuilder()
|
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 int CONDITION
public static final int ACTION
public static final int PRIORITY
public static final int DURATION
public static final int NAME
public static final int DESCRIPTION
public static final int NOLOOP
public static final int ACTIVATIONGROUP
public static final int AGENDAGROUP
Method Detail |
---|
public void setSourceBuilder(SourceBuilder src)
public SourceBuilder getSourceBuilder()
public static void addNewActionType(Map actionTypeMap, String value, int column, int row)
public void addTemplate(int col, String content)
public void addCellValue(int col, String content)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |