Package org.glassfish.api
Class ActionReport.MessagePart
- java.lang.Object
-
- org.glassfish.api.ActionReport.MessagePart
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ActionReport
public static class ActionReport.MessagePart extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessagePart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionReport.MessagePartaddChild()voidaddProperty(String key, String value)voidappendMessage(String message)StringfindProperty(String key)Search in message parts properties then in extra properties and then in sub reports.protected StringfindPropertyImpl(String key)List<ActionReport.MessagePart>getChildren()StringgetChildrenType()StringgetMessage()PropertiesgetProps()voidsetChildrenType(String type)voidsetMessage(String message)StringtoString()protected StringtoString(int indent)
-
-
-
Method Detail
-
addChild
public ActionReport.MessagePart addChild()
-
setChildrenType
public void setChildrenType(String type)
-
setMessage
public void setMessage(String message)
-
appendMessage
public void appendMessage(String message)
-
getProps
public Properties getProps()
-
getMessage
public String getMessage()
-
getChildrenType
public String getChildrenType()
-
getChildren
public List<ActionReport.MessagePart> getChildren()
-
findProperty
public String findProperty(String key)
Search in message parts properties then in extra properties and then in sub reports. Returns first occurrence of the key.
-
toString
protected String toString(int indent)
-
-