Interface ApprovalEvent
- All Superinterfaces:
com.atlassian.confluence.event.events.content.Contented
,WorkflowEvent
- All Known Subinterfaces:
ApprovalApprovedEvent
,ApprovalAssignedEvent
,ApprovalRejectedEvent
,ApprovalUnassignedEvent
The ApprovalEvent is fired when a partial or final approval/rejection is given
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.confluence.pages.AbstractPage
Returns the content (page or blog post) being approvedReturns the name of the approval being approvedboolean
Returns true if there are pending users to give their approval, and false if the approval is finalMethods inherited from interface com.atlassian.confluence.event.events.content.Contented
getContent
Methods inherited from interface com.comalatech.workflow.event.WorkflowEvent
getState
-
Method Details
-
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
-