|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.plugin.ServerPluginControlResults
public class ServerPluginControlResults
Represents the results of a control operation invocation that a server plugin component performed. This is a domain object so it can be used by remote clients that do not have access to the server-side only ControlResults object (such as GWT clients).
Constructor Summary | |
---|---|
ServerPluginControlResults()
|
Method Summary | |
---|---|
Configuration |
getComplexResults()
Returns the Configuration object that is used to contain all the complex data that resulted from
the invocation. |
String |
getError()
Returns the error message that describes why the invocation failed. |
boolean |
isSuccess()
Indicates if the control operation invocation was a success. |
void |
setError(String errorMessage)
If the invocation was a failure, call this method to mark it as such. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServerPluginControlResults()
Method Detail |
---|
public boolean isSuccess()
false
,
call getError()
to get the error message describing the error.
true
if the invocation was a success; false
on failurepublic Configuration getComplexResults()
Configuration
object that is used to contain all the complex data that resulted from
the invocation. The returned object is not a copy, so you can use this object to populate the complex
results.
public String getError()
null
.
null
if successpublic void setError(String errorMessage)
errorMessage
- error message describing the failure, must not be null
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |