public abstract class McRuleAbstract
extends org.easyrules.core.BasicRule
Constructor and Description |
---|
McRuleAbstract() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected boolean |
executeDampening(boolean triggerOperations) |
protected String |
getActualUnit() |
protected String |
getActualValue() |
String |
getName() |
protected String |
getResourceUnit(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
protected String |
getResourceValue(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
RuleDefinitionAbstract |
getRuleDefinitionBase() |
protected void |
setActualUnit(String actualUnit) |
protected void |
setActualValue(String actualValue) |
void |
setRuleDefinitionBase(RuleDefinitionAbstract ruleDefinition) |
protected String getActualValue()
protected void setActualValue(String actualValue)
protected String getActualUnit()
protected void setActualUnit(String actualUnit)
public RuleDefinitionAbstract getRuleDefinitionBase()
public void setRuleDefinitionBase(RuleDefinitionAbstract ruleDefinition)
public String getName()
getName
in interface org.easyrules.api.Rule
getName
in class org.easyrules.core.BasicRule
protected String getResourceValue(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId) throws IllegalAccessException
IllegalAccessException
protected String getResourceUnit(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId) throws IllegalAccessException
IllegalAccessException
protected boolean executeDampening(boolean triggerOperations)
Copyright © 2015–2019. All rights reserved.