Class RuleResult
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.rules.RuleResult
 
- 
- All Implemented Interfaces:
- IRuleResult
 
 public class RuleResult extends Object implements IRuleResult The basic implementation ofIRuleResult.
- 
- 
Field Summary- 
Fields inherited from interface com._1c.g5.aef2.standard.definitions.rules.IRuleResultEMPTY_RESULT
 
- 
 - 
Constructor SummaryConstructors Constructor Description RuleResult()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDisabled(IRuleTarget target)Adds the target to disabled targets.voidaddDisabled(Collection<? extends IRuleTarget> targets)Adds a collection of targets to the set of disabled targets.voidaddHidden(IRuleTarget target)Adds the target to hidden targets.voidaddHidden(Collection<? extends IRuleTarget> targets)Adds a collection of targets to the set of hidden targets.voidclear()Clears the rule result.booleanequals(Object obj)Set<? extends IRuleTarget>getDisabled()Returns a set of targets to disable.Set<? extends IRuleTarget>getHidden()Returns a set of targets to hide.inthashCode()voidremoveDisabled(IRuleTarget target)Removes the target from disabled targets.voidremoveHidden(IRuleTarget target)Removes the target from hidden targets.
 
- 
- 
- 
Method Detail- 
addHiddenpublic void addHidden(IRuleTarget target) Adds the target to hidden targets.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
addHiddenpublic void addHidden(Collection<? extends IRuleTarget> targets) Adds a collection of targets to the set of hidden targets.- Parameters:
- targets- A collection of targets to add to hidden targets, cannot be- null.
 
 - 
addDisabledpublic void addDisabled(IRuleTarget target) Adds the target to disabled targets.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
addDisabledpublic void addDisabled(Collection<? extends IRuleTarget> targets) Adds a collection of targets to the set of disabled targets.- Parameters:
- targets- A collection of targets to add to disabled targets, cannot be- null.
 
 - 
removeDisabledpublic void removeDisabled(IRuleTarget target) Removes the target from disabled targets.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
removeHiddenpublic void removeHidden(IRuleTarget target) Removes the target from hidden targets.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
clearpublic void clear() Clears the rule result.
 - 
getHiddenpublic Set<? extends IRuleTarget> getHidden() Description copied from interface:IRuleResultReturns a set of targets to hide.- Specified by:
- getHiddenin interface- IRuleResult
- Returns:
- a set of targets to hide, never null.
- See Also:
- IRuleTarget
 
 - 
getDisabledpublic Set<? extends IRuleTarget> getDisabled() Description copied from interface:IRuleResultReturns a set of targets to disable.- Specified by:
- getDisabledin interface- IRuleResult
- Returns:
- a set of targets to disable, never null.
- See Also:
- IRuleTarget
 
 
- 
 
-