|
|||||||||
| 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
Result of a password rule validation.
| Field Summary | |
|---|---|
protected 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 rule result. |
|
RuleResult(boolean b,
RuleResultDetail rrd)
Creates a new rule result. |
|
| Method Summary | |
|---|---|
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(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 List<RuleResultDetail> details
| Constructor Detail |
|---|
public RuleResult()
public RuleResult(boolean b)
b - result validity
public RuleResult(boolean b,
RuleResultDetail rrd)
b - result validityrrd - details associated with this result| Method Detail |
|---|
public boolean isValid()
public void setValid(boolean b)
b - valid password for this rulepublic List<RuleResultDetail> getDetails()
public void setDetails(List<RuleResultDetail> rrd)
rrd - rule result details
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||