Class MultiRule
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.rules.MultiRule
 
- 
- 
Constructor SummaryConstructors Constructor Description MultiRule()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiRuleadd(IRule rule)Adds a rule to the list of underlying rules.IRuleResultgetResult(IRuleInput input)Returns the result of the rule.static MultiRuleof(IRule rule)
 
- 
- 
- 
Method Detail- 
ofpublic static MultiRule of(IRule rule) Transforms a givenIRuleinto aMultiRule. In case the rule is already aMultiRule, returns it with no changes. Otherwise, a newMultiRulewill be created with the given rule as its single underlying rule.- Parameters:
- rule- The rule to transform into- MultiRule
- Returns:
- The rule transformed into MultiRule
 
 - 
addpublic MultiRule add(IRule rule) Adds a rule to the list of underlying rules.- Parameters:
- rule- The rule to be added
- Returns:
- The multirule itself for chaining
 
 - 
getResultpublic IRuleResult getResult(IRuleInput input) Description copied from interface:IRuleReturns the result of the rule.- Specified by:
- getResultin interface- IRule
- Parameters:
- input- the input.
- Returns:
- the IRuleResultinstance.
 
 
- 
 
-