|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.RuleResultDetail
public class RuleResultDetail
Describes an exact cause of a rule validation failure.
| Field Summary | |
|---|---|
protected String |
errorCode
Detail error code. |
protected Map<String,?> |
parameters
Additional parameters that provide information about validation failure. |
| Constructor Summary | |
|---|---|
RuleResultDetail(String code,
Map<String,?> params)
Creates a new rule result detail. |
|
| Method Summary | |
|---|---|
String |
getErrorCode()
Returns the error code. |
Map<String,?> |
getParameters()
Returns the parameters. |
Object[] |
getValues()
Returns the parameter values. |
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final String errorCode
protected final Map<String,?> parameters
| Constructor Detail |
|---|
public RuleResultDetail(String code,
Map<String,?> params)
code - error code.params - error details.| Method Detail |
|---|
public String getErrorCode()
public Map<String,?> getParameters()
public Object[] getValues()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||