|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.ide.common.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(String mvelSource)
This is the source of the asset, which is an MVEL map (minus the outer "[") of course. |
|
| Method Summary | |
|---|---|
static String |
addCommasForNewLines(String mvelSource)
|
Map<String,String[]> |
getData()
Return the map of Fact.field to List (of Strings). |
List<String> |
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(String mvelSource)
| Method Detail |
|---|
public static String addCommasForNewLines(String mvelSource)
public List<String> getErrors()
public boolean hasErrors()
public Map<String,String[]> getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||