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 Details

    • AttrResultInfo

      public AttrResultInfo(String name, PropertyEditor editor, Object result, Throwable throwable)
      Constructor
      Parameters:
      name - The name
      editor - The editor
      result - The result
      throwable - The error
  • Method Details

    • 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