|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdx.scorebot.net.tests.TestEvent.ResultInfoPair
public class TestEvent.ResultInfoPair
stores results from the test and any audits of those results
Constructor Summary | |
---|---|
TestEvent.ResultInfoPair(java.lang.Object originalValue)
default constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getAuditedValue()
gets the audited test result (null if not audited) |
java.lang.String |
getComments()
gets any comments regarding the event or audit |
java.lang.String |
getName()
gets the name of the result |
java.lang.Object |
getOriginalValue()
gets the original test result |
java.lang.Object |
getValue()
returns the audited value if there is one, otherwise the original value |
boolean |
isAudited()
returns true if the value has been audited |
void |
setAuditedValue(java.lang.Object auditedValue)
sets the audited test result (null if not audited) |
void |
setComments(java.lang.String comments)
sets any comments regarding the event or audit |
void |
setName(java.lang.String name)
sets the name of the result |
java.lang.String |
toString()
returns the name of the TestEvent, if any and the empty string if name is null |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestEvent.ResultInfoPair(java.lang.Object originalValue)
originalValue
- the original test resultMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.Object getValue()
public java.lang.Object getOriginalValue()
public java.lang.Object getAuditedValue()
public boolean isAudited()
public void setAuditedValue(java.lang.Object auditedValue)
public java.lang.String getComments()
public void setComments(java.lang.String comments)
public java.lang.String getName()
public void setName(java.lang.String name)
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 |