public class TestRoleResult extends Object implements Serializable
The TestRoleResponse structure.
| Constructor and Description |
|---|
TestRoleResult() |
| Modifier and Type | Method and Description |
|---|---|
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 String getSuccess()
true;
otherwise, the value is false.
Constraints:
Pattern: (^true$)|(^false$)
true;
otherwise, the value is false.public void setSuccess(String success)
true;
otherwise, the value is false.
Constraints:
Pattern: (^true$)|(^false$)
success - If the operation is successful, this value is true;
otherwise, the value is false.public TestRoleResult withSuccess(String success)
true;
otherwise, the value is false.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^true$)|(^false$)
success - If the operation is successful, this value is true;
otherwise, the value is false.public List<String> getMessages()
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)
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)
Success element contains false, this
value is an array of one or more error messages that were generated
during the test process.
Returns a reference to this object so that method calls can be chained together.
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)
Success element contains false, this
value is an array of one or more error messages that were generated
during the test process.
Returns a reference to this object so that method calls can be chained together.
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()Copyright © 2015. All rights reserved.