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.MessagePart
addChild()
void
addProperty(String key, String value)
void
appendMessage(String message)
String
findProperty(String key)
Search in message parts properties then in extra properties and then in sub reports.protected String
findPropertyImpl(String key)
List<ActionReport.MessagePart>
getChildren()
String
getChildrenType()
String
getMessage()
Properties
getProps()
void
setChildrenType(String type)
void
setMessage(String message)
String
toString()
protected String
toString(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.- Parameters:
key
-- Returns:
-
toString
protected String toString(int indent)
-
-