Class WorkflowEvent
java.lang.Object
org.craftercms.studio.api.v2.event.StudioEvent
org.craftercms.studio.api.v2.event.SiteAwareEvent
org.craftercms.studio.api.v2.event.workflow.WorkflowEvent
- All Implemented Interfaces:
BroadcastEvent
,SiteBroadcastEvent
Event triggered when items go through the different workflow states
Note:For now this is triggered for any state change
- Since:
- 4.0.0
- Author:
- joseross
-
Field Summary
Fields inherited from class org.craftercms.studio.api.v2.event.SiteAwareEvent
siteId
Fields inherited from class org.craftercms.studio.api.v2.event.StudioEvent
timestamp, user
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowEvent
(org.springframework.security.core.Authentication authentication, String siteId) -
Method Summary
Methods inherited from class org.craftercms.studio.api.v2.event.SiteAwareEvent
getSiteId
Methods inherited from class org.craftercms.studio.api.v2.event.StudioEvent
getTimestamp, getUser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.craftercms.studio.api.v2.event.SiteBroadcastEvent
getSiteId
-
Constructor Details
-
WorkflowEvent
public WorkflowEvent(org.springframework.security.core.Authentication authentication, String siteId)
-
-
Method Details
-
getEventType
- Specified by:
getEventType
in interfaceBroadcastEvent
-
toString
-