Package com.pnfsoftware.jeb.core.actions
Class ActionCommentData
java.lang.Object
com.pnfsoftware.jeb.core.actions.ActionData
com.pnfsoftware.jeb.core.actions.ActionCommentData
- All Implemented Interfaces:
IActionData
This action class holds information for to the
Actions.COMMENT
action.-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.actions.ActionData
ERRCODE_UNKNOWN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a comment.Get the new or updated comment.void
setComment
(String comment) Set a comment.void
setNewComment
(String newComment) Set the new or updated comment.Methods inherited from class com.pnfsoftware.jeb.core.actions.ActionData
canReuseObject, getDescription, getExecutionErrorCode, getExecutionErrorMessage, getValue, isNoInfoRequest, reset, setDescription, setExecutionError, setExecutionErrorCode, setExecutionErrorMessage, setValue
-
Constructor Details
-
ActionCommentData
public ActionCommentData()
-
-
Method Details
-
getComment
Get a comment. This method is used by clients.- Returns:
- the current value of the comment
-
setComment
Set a comment. This method is used by plugins. Its purpose is to provide clients the current value of a comment.- Parameters:
comment
- current value of comment
-
getNewComment
Get the new or updated comment. This method is used by plugins.- Returns:
- the new comment
-
setNewComment
Set the new or updated comment. This method is used by clients.- Parameters:
newComment
- a new comment
-