| |
|
| org.drools.lang.dsl.DSLMappingEntry
All known Subclasses: org.drools.lang.dsl.DefaultDSLMappingEntry,
DSLMappingEntry | public interface DSLMappingEntry (Code) | | A single entry in a DSL mapping file
author: etirelli |
Inner Class :public static interface Section extends Comparable | |
Inner Class :public static interface MetaData extends Comparable | |
Inner Class :public static class KeywordSection implements Section | |
Inner Class :public static class ConditionSection implements Section | |
Inner Class :public static class ConsequenceSection implements Section | |
Inner Class :public static class AnySection implements Section | |
ANY | final public static Section ANY(Code) | | |
CONDITION | final public static Section CONDITION(Code) | | |
CONSEQUENCE | final public static Section CONSEQUENCE(Code) | | |
EMPTY_METADATA | final public static MetaData EMPTY_METADATA(Code) | | |
KEYWORD | final public static Section KEYWORD(Code) | | |
getErrors | public List getErrors()(Code) | | Returns a list of errors found in this mapping
|
getKeyPattern | public Pattern getKeyPattern()(Code) | | Returns the compiled pattern based on the given MappingKey
the keyPattern |
getMappingKey | public String getMappingKey()(Code) | | Returns the key of this mapping, i.e., the source
that needs to be translated
|
getMappingValue | public String getMappingValue()(Code) | | Returns the result of the translation
|
getValuePattern | public String getValuePattern()(Code) | | Returns the transformed mapping value using place holders for variables
the valuePattern |
getVariables | public Map getVariables()(Code) | | Returns the list of variables found in the given pattern key
the variables |
setMappingKey | public void setMappingKey(String key)(Code) | | Parameters: key - the key to set |
setMappingValue | public void setMappingValue(String value)(Code) | | Parameters: value - the value to set |
setMetaData | public void setMetaData(MetaData metadata)(Code) | | Parameters: metadata - the metadata to set |
setSection | public void setSection(Section section)(Code) | | Parameters: section - the section to set |
|
|
|