|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.RuleResult
public class RuleResult
RuleResult provides common implementation for password rule
result implementations.
| Field Summary | |
|---|---|
protected java.util.List<RuleResultDetail> |
details
details associated with a password rule result. |
protected boolean |
valid
whether password rule was successful. |
| Constructor Summary | |
|---|---|
RuleResult()
Default constructor. |
|
RuleResult(boolean b)
Creates a new RuleResult with the supplied validity. |
|
RuleResult(boolean b,
RuleResultDetail rrd)
Creates a new RuleResult with the supplied validity and
details. |
|
| Method Summary | |
|---|---|
java.util.List<RuleResultDetail> |
getDetails()
Returns any details associated with the rule verification. |
boolean |
isValid()
Returns whether the result of the rule verification is a valid password. |
void |
setDetails(java.util.List<RuleResultDetail> rrd)
Sets any details associated with the rule verification. |
void |
setValid(boolean b)
Sets whether the result of the rule verification is a valid password. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean valid
protected java.util.List<RuleResultDetail> details
| Constructor Detail |
|---|
public RuleResult()
public RuleResult(boolean b)
RuleResult with the supplied validity.
b - result validity
public RuleResult(boolean b,
RuleResultDetail rrd)
RuleResult with the supplied validity and
details.
b - result validityrrd - details associated with this result| Method Detail |
|---|
public boolean isValid()
public void setValid(boolean b)
b - valid password for this rulepublic java.util.List<RuleResultDetail> getDetails()
public void setDetails(java.util.List<RuleResultDetail> rrd)
rrd - rule result details
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||