Package org.jboss.jca.web.console
Class AttrResultInfo
- java.lang.Object
-
- org.jboss.jca.web.console.AttrResultInfo
-
public class AttrResultInfo extends Object
A simple tuple of an mbean operation name, sigature and result.- Author:
- Scott Stark, Jesper Pedersen
-
-
Constructor Summary
Constructors Constructor Description AttrResultInfo(String name, PropertyEditor editor, Object result, Throwable throwable)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsText()Get the text representationPropertyEditorgetEditor()Get the editorThrowablegetError()Get the errorStringgetName()Get the nameObjectgetResult()Get the result
-
-
-
Constructor Detail
-
AttrResultInfo
public AttrResultInfo(String name, PropertyEditor editor, Object result, Throwable throwable)
Constructor- Parameters:
name- The nameeditor- The editorresult- The resultthrowable- The error
-
-
Method Detail
-
getName
public String getName()
Get the name- Returns:
- The value
-
getEditor
public PropertyEditor getEditor()
Get the editor- Returns:
- The value
-
getResult
public Object getResult()
Get the result- Returns:
- The value
-
getError
public Throwable getError()
Get the error- Returns:
- The value
-
getAsText
public String getAsText()
Get the text representation- Returns:
- The string
-
-