org.drools.eclipse.rulebuilder.modeldriven
Class HumanReadable
java.lang.Object
org.drools.eclipse.rulebuilder.modeldriven.HumanReadable
public class HumanReadable
- extends Object
This contains some simple mappings between operators, conditional elements
and the human readable equivalent.
Yes, I am making the presumption that programmers are not human, but I think
they (we) are cool with that.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operatorDisplayMap
public static Map operatorDisplayMap
ceDisplayMap
public static Map ceDisplayMap
actionDisplayMap
public static Map actionDisplayMap
CONDITIONAL_ELEMENTS
public static final String[] CONDITIONAL_ELEMENTS
HumanReadable
public HumanReadable()
getActionDisplayName
public static String getActionDisplayName(String action)
getOperatorDisplayName
public static String getOperatorDisplayName(String op)
getCEDisplayName
public static String getCEDisplayName(String ce)
getOperatorName
public static String getOperatorName(String op)
- get operator by its display name
- Parameters:
op - operator display name
- Returns:
- operator
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.