Class TestRoleResult
- All Implemented Interfaces:
Serializable
,Cloneable
The TestRoleResponse
structure.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
If theSuccess
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.If the operation is successful, this value istrue
; otherwise, the value isfalse
.int
hashCode()
void
setMessages
(Collection<String> messages) If theSuccess
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.void
setSuccess
(String success) If the operation is successful, this value istrue
; otherwise, the value isfalse
.toString()
Returns a string representation of this object; useful for testing and debugging.withMessages
(String... messages) If theSuccess
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.withMessages
(Collection<String> messages) If theSuccess
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.withSuccess
(String success) If the operation is successful, this value istrue
; otherwise, the value isfalse
.
-
Constructor Details
-
TestRoleResult
public TestRoleResult()
-
-
Method Details
-
setSuccess
If the operation is successful, this value is
true
; otherwise, the value isfalse
.- Parameters:
success
- If the operation is successful, this value istrue
; otherwise, the value isfalse
.
-
getSuccess
If the operation is successful, this value is
true
; otherwise, the value isfalse
.- Returns:
- If the operation is successful, this value is
true
; otherwise, the value isfalse
.
-
withSuccess
If the operation is successful, this value is
true
; otherwise, the value isfalse
.- Parameters:
success
- If the operation is successful, this value istrue
; otherwise, the value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getMessages
If the
Success
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.- Returns:
- If the
Success
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.
-
setMessages
If the
Success
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.- Parameters:
messages
- If theSuccess
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.
-
withMessages
If the
Success
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
orwithMessages(java.util.Collection)
if you want to override the existing values.- Parameters:
messages
- If theSuccess
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMessages
If the
Success
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.- Parameters:
messages
- If theSuccess
element containsfalse
, this value is an array of one or more error messages that were generated during the test process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-