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()
boolean
SpecifyINSERT
to add aPredicate
to aRule
.The ID of thePredicate
(such as anIPSet
) that you want to add to aRule
.int
hashCode()
void
setAction
(ChangeAction action) SpecifyINSERT
to add aPredicate
to aRule
.void
SpecifyINSERT
to add aPredicate
to aRule
.void
setPredicate
(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) SpecifyINSERT
to add aPredicate
to aRule
.withAction
(String action) SpecifyINSERT
to add aPredicate
to 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
INSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- Parameters:
action
- SpecifyINSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- See Also:
-
getAction
Specify
INSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- Returns:
- Specify
INSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
. - See Also:
-
withAction
Specify
INSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- Parameters:
action
- SpecifyINSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAction
Specify
INSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- Parameters:
action
- SpecifyINSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- See Also:
-
withAction
Specify
INSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from aRule
.- Parameters:
action
- SpecifyINSERT
to add aPredicate
to aRule
. UseDELETE
to remove aPredicate
from 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-