|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.brms.server.util.DataEnumLoader
public class DataEnumLoader
Use mvel to load up map/list of valid items for fields - used by the Guided rule editor.
Constructor Summary | |
---|---|
DataEnumLoader(java.lang.String mvelSource)
This is the source of the asset, which is an MVEL map (minus the outer "[") of course. |
Method Summary | |
---|---|
static java.lang.String |
addCommasForNewLines(java.lang.String mvelSource)
|
java.util.Map |
getData()
Return the map of Fact.field to List (of Strings). |
java.util.List |
getErrors()
Return a list of any errors found. |
boolean |
hasErrors()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataEnumLoader(java.lang.String mvelSource)
Method Detail |
---|
public static java.lang.String addCommasForNewLines(java.lang.String mvelSource)
public java.util.List getErrors()
public boolean hasErrors()
public java.util.Map getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |