Package org.glassfish.admin.rest.results
Class ActionReportResult
- java.lang.Object
-
- org.glassfish.admin.rest.results.Result
-
- 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
Constructors Constructor Description ActionReportResult(String name, RestActionReporter r)
ActionReportResult(String name, RestActionReporter r, OptionsResult metaData)
ActionReportResult(String name, RestActionReporter r, OptionsResult metaData, String displayName)
ActionReportResult(RestActionReporter r)
ActionReportResult(RestActionReporter r, OptionsResult metaData)
ActionReportResult(RestActionReporter r, ConfigBean entity, OptionsResult metaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionReporter
getActionReport()
Returns the result string this object representsString
getCommandDisplayName()
Returns display name for command associated with the command resource.ConfigBean
getEntity()
LeafResource.LeafContent
getLeafContent()
OptionsResult
getMetaData()
Returns OptionsResult - the meta-data of this resource.void
setCommandDisplayName(String s)
change display name for command associated with the command resource.void
setLeafContent(LeafResource.LeafContent leafContent)
String
toString()
-
Methods inherited from class org.glassfish.admin.rest.results.Result
getErrorMessage, getName, isError, setErrorMessage, setIsError
-
-
-
-
Constructor Detail
-
ActionReportResult
public ActionReportResult(RestActionReporter r)
-
ActionReportResult
public ActionReportResult(RestActionReporter r, OptionsResult metaData)
-
ActionReportResult
public ActionReportResult(RestActionReporter r, ConfigBean entity, OptionsResult metaData)
-
ActionReportResult
public ActionReportResult(String name, RestActionReporter r)
-
ActionReportResult
public ActionReportResult(String name, RestActionReporter r, OptionsResult metaData)
-
ActionReportResult
public ActionReportResult(String name, RestActionReporter r, OptionsResult metaData, 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 String getCommandDisplayName()
Returns display name for command associated with the command resource.
-
setCommandDisplayName
public void setCommandDisplayName(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 ConfigBean getEntity()
-
-