|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--psman.data.Rule
The type of transaction rules.
Constructor Summary | |
Rule(psman.data.Chain chain,
int rank,
java.lang.String condition,
java.lang.String action,
java.lang.String parameter)
Constructor. |
|
Rule(psman.data.Chain chain,
java.lang.String condition,
java.lang.String action,
java.lang.String parameter)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(psman.data.Rule data)
|
java.lang.String |
getAction()
Return the action of this rule. |
psman.data.Chain |
getChain()
Return the chain of this rule. |
java.lang.String |
getCondition()
Return the condition of this rule. |
java.lang.String |
getParameter()
Return the parameter of this rule. |
int |
getRank()
Return the rank of this rule. |
int |
hashCode()
|
void |
setParameter(java.lang.String parameter)
Set the parameter of this rule. |
void |
setRank(int rank)
Set the rank of this rule. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Rule(psman.data.Chain chain, int rank, java.lang.String condition, java.lang.String action, java.lang.String parameter)
chain
- the chain of this rulerank
- the rank of this rulecondition
- the condition method of this rule,
specified as class.method
action
- the action method of this rule,
specified as class.method
or ACCEPT, WARN, REJECTparameter
- an additional parameter for this rulepublic Rule(psman.data.Chain chain, java.lang.String condition, java.lang.String action, java.lang.String parameter)
chain
- the chain of this rulecondition
- the condition method of this rule,
specified as class.method
action
- the action method of this rule,
specified as class.method
or ACCEPT, WARN, REJECTparameter
- an additional parameter for this ruleMethod Detail |
public psman.data.Chain getChain()
public int getRank()
public void setRank(int rank)
rank
- the rank of this rulepublic java.lang.String getCondition()
public java.lang.String getAction()
public java.lang.String getParameter()
public void setParameter(java.lang.String parameter)
parameter
- the parameter of this rulepublic boolean equals(psman.data.Rule data)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |