Class RuleUpdate
- All Implemented Interfaces:
Serializable, Cloneable
Specifies a Predicate (such as an IPSet) and
indicates whether you want to add it to a Rule or delete it from
a Rule.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanSpecifyINSERTto add aPredicateto aRule.The ID of thePredicate(such as anIPSet) that you want to add to aRule.inthashCode()voidsetAction(ChangeAction action) SpecifyINSERTto add aPredicateto aRule.voidSpecifyINSERTto add aPredicateto aRule.voidsetPredicate(Predicate predicate) The ID of thePredicate(such as anIPSet) that you want to add to aRule.toString()Returns a string representation of this object; useful for testing and debugging.withAction(ChangeAction action) SpecifyINSERTto add aPredicateto aRule.withAction(String action) SpecifyINSERTto add aPredicateto aRule.withPredicate(Predicate predicate) The ID of thePredicate(such as anIPSet) that you want to add to aRule.
-
Constructor Details
-
RuleUpdate
public RuleUpdate()
-
-
Method Details
-
setAction
Specify
INSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- Parameters:
action- SpecifyINSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- See Also:
-
getAction
Specify
INSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- Returns:
- Specify
INSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule. - See Also:
-
withAction
Specify
INSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- Parameters:
action- SpecifyINSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAction
Specify
INSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- Parameters:
action- SpecifyINSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- See Also:
-
withAction
Specify
INSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- Parameters:
action- SpecifyINSERTto add aPredicateto aRule. UseDELETEto remove aPredicatefrom aRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setPredicate
The ID of the
Predicate(such as anIPSet) that you want to add to aRule.- Parameters:
predicate- The ID of thePredicate(such as anIPSet) that you want to add to aRule.
-
getPredicate
The ID of the
Predicate(such as anIPSet) that you want to add to aRule.- Returns:
- The ID of the
Predicate(such as anIPSet) that you want to add to aRule.
-
withPredicate
The ID of the
Predicate(such as anIPSet) that you want to add to aRule.- Parameters:
predicate- The ID of thePredicate(such as anIPSet) that you want to add to aRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-