Interface ApprovalEvent
-
- All Superinterfaces:
com.atlassian.confluence.event.events.content.Contented
,WorkflowEvent
- All Known Subinterfaces:
ApprovalApprovedEvent
,ApprovalAssignedEvent
,ApprovalRejectedEvent
,ApprovalUnassignedEvent
public interface ApprovalEvent extends WorkflowEvent
The ApprovalEvent is fired when a partial or final approval/rejection is given
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.atlassian.confluence.pages.AbstractPage
getAbstractPage()
Returns the content (page or blog post) being approvedString
getApprovalName()
Returns the name of the approval being approvedboolean
isPartial()
Returns true if there are pending users to give their approval, and false if the approval is final-
Methods inherited from interface com.comalatech.workflow.event.WorkflowEvent
getState
-
-
-
-
Method Detail
-
getApprovalName
String getApprovalName()
Returns the name of the approval being approved- Returns:
- the name of the approval being approved
- Since:
- 1.0
-
isPartial
boolean isPartial()
Returns true if there are pending users to give their approval, and false if the approval is final- Returns:
- true if partial approval, false if final approval
- Since:
- 5.8.0
-
getAbstractPage
com.atlassian.confluence.pages.AbstractPage getAbstractPage()
Returns the content (page or blog post) being approved- Returns:
- the content (page or blog post) being approved
- Since:
- 5.8.0
-
-