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
public class WorkflowEvent extends SiteAwareEvent implements BroadcastEvent
Event triggered when items go through the different workflow states- 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
Constructors Constructor Description WorkflowEvent(org.springframework.security.core.Authentication authentication, String siteId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEventType()
String
toString()
-
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
-
-
-
-
Constructor Detail
-
WorkflowEvent
public WorkflowEvent(org.springframework.security.core.Authentication authentication, String siteId)
-
-
Method Detail
-
getEventType
public String getEventType()
- Specified by:
getEventType
in interfaceBroadcastEvent
-
-