org.glassfish.admin.rest.results
Class ActionReportResult

java.lang.Object
  extended by org.glassfish.admin.rest.results.Result
      extended by org.glassfish.admin.rest.results.ActionReportResult

public class ActionReportResult
extends Result

Response information object. Returned on call to GET methods on command resources. Information used by provider to generate the appropriate output.

Author:
Ludovic Champenois

Constructor Summary
ActionReportResult(RestActionReporter r)
          Constructor
ActionReportResult(RestActionReporter r, org.jvnet.hk2.config.ConfigBean entity, OptionsResult metaData)
           
ActionReportResult(RestActionReporter r, OptionsResult metaData)
           
ActionReportResult(java.lang.String name, RestActionReporter r)
           
ActionReportResult(java.lang.String name, RestActionReporter r, OptionsResult metaData)
           
ActionReportResult(java.lang.String name, RestActionReporter r, OptionsResult metaData, java.lang.String displayName)
           
 
Method Summary
 ActionReporter getActionReport()
          Returns the result string this object represents
 java.lang.String getCommandDisplayName()
          Returns display name for command associated with the command resource.
 org.jvnet.hk2.config.ConfigBean getEntity()
           
 LeafResource.LeafContent getLeafContent()
           
 OptionsResult getMetaData()
          Returns OptionsResult - the meta-data of this resource.
 void setCommandDisplayName(java.lang.String s)
          change display name for command associated with the command resource.
 void setLeafContent(LeafResource.LeafContent leafContent)
           
 
Methods inherited from class org.glassfish.admin.rest.results.Result
getErrorMessage, getName, isError, setErrorMessage, setIsError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionReportResult

public ActionReportResult(RestActionReporter r)
Constructor


ActionReportResult

public ActionReportResult(RestActionReporter r,
                          OptionsResult metaData)

ActionReportResult

public ActionReportResult(RestActionReporter r,
                          org.jvnet.hk2.config.ConfigBean entity,
                          OptionsResult metaData)

ActionReportResult

public ActionReportResult(java.lang.String name,
                          RestActionReporter r)

ActionReportResult

public ActionReportResult(java.lang.String name,
                          RestActionReporter r,
                          OptionsResult metaData)

ActionReportResult

public ActionReportResult(java.lang.String name,
                          RestActionReporter r,
                          OptionsResult metaData,
                          java.lang.String displayName)
Method Detail

getLeafContent

public LeafResource.LeafContent getLeafContent()

setLeafContent

public void setLeafContent(LeafResource.LeafContent leafContent)

getActionReport

public ActionReporter getActionReport()
Returns the result string this object represents


getCommandDisplayName

public java.lang.String getCommandDisplayName()
Returns display name for command associated with the command resource.


setCommandDisplayName

public void setCommandDisplayName(java.lang.String s)
change display name for command associated with the command resource.


getMetaData

public OptionsResult getMetaData()
Returns OptionsResult - the meta-data of this resource.


getEntity

public org.jvnet.hk2.config.ConfigBean getEntity()


Copyright © 2012 GlassFish Community. All Rights Reserved.