public class TestRoleResult extends Object implements Serializable, Cloneable
The TestRoleResponse structure.
| Constructor and Description |
|---|
TestRoleResult() |
| Modifier and Type | Method and Description |
|---|---|
TestRoleResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getMessages()
If the
Success element contains false, this
value is an array of one or more error messages that were generated
during the test process. |
String |
getSuccess()
If the operation is successful, this value is
true;
otherwise, the value is false. |
int |
hashCode() |
void |
setMessages(Collection<String> messages)
If the
Success element contains false, 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 is
true;
otherwise, the value is false. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestRoleResult |
withMessages(Collection<String> messages)
If the
Success element contains false, this
value is an array of one or more error messages that were generated
during the test process. |
TestRoleResult |
withMessages(String... messages)
If the
Success element contains false, this
value is an array of one or more error messages that were generated
during the test process. |
TestRoleResult |
withSuccess(String success)
If the operation is successful, this value is
true;
otherwise, the value is false. |
public void setSuccess(String success)
If the operation is successful, this value is true;
otherwise, the value is false.
success - If the operation is successful, this value is true;
otherwise, the value is false.public String getSuccess()
If the operation is successful, this value is true;
otherwise, the value is false.
true;
otherwise, the value is false.public TestRoleResult withSuccess(String success)
If the operation is successful, this value is true;
otherwise, the value is false.
success - If the operation is successful, this value is true;
otherwise, the value is false.public List<String> getMessages()
If the Success element contains false, this
value is an array of one or more error messages that were generated
during the test process.
Success element contains false,
this value is an array of one or more error messages that were
generated during the test process.public void setMessages(Collection<String> messages)
If the Success element contains false, this
value is an array of one or more error messages that were generated
during the test process.
messages - If the Success element contains false,
this value is an array of one or more error messages that were
generated during the test process.public TestRoleResult withMessages(String... messages)
If the Success element contains false, 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) or
withMessages(java.util.Collection) if you want to override the
existing values.
messages - If the Success element contains false,
this value is an array of one or more error messages that were
generated during the test process.public TestRoleResult withMessages(Collection<String> messages)
If the Success element contains false, this
value is an array of one or more error messages that were generated
during the test process.
messages - If the Success element contains false,
this value is an array of one or more error messages that were
generated during the test process.public String toString()
toString in class ObjectObject.toString()public TestRoleResult clone()
Copyright © 2016. All rights reserved.