Class ContentEvent
java.lang.Object
org.craftercms.studio.api.v2.event.StudioEvent
org.craftercms.studio.api.v2.event.SiteAwareEvent
org.craftercms.studio.api.v2.event.content.ContentEvent
- All Implemented Interfaces:
BroadcastEvent,SiteBroadcastEvent
- Direct Known Subclasses:
ConfigurationEvent,DeleteContentEvent,MoveContentEvent
Event triggered when there is a change in one or more content items
- Since:
- 4.0.0
- Author:
- joseross
-
Field Summary
FieldsFields inherited from class org.craftercms.studio.api.v2.event.SiteAwareEvent
siteIdFields inherited from class org.craftercms.studio.api.v2.event.StudioEvent
timestamp, user -
Constructor Summary
ConstructorsConstructorDescriptionContentEvent(org.springframework.security.core.Authentication authentication, String siteId, String targetPath) ContentEvent(org.springframework.security.core.Authentication authentication, String siteId, String targetPath, boolean waitForCompletion) -
Method Summary
Methods inherited from class org.craftercms.studio.api.v2.event.SiteAwareEvent
getSiteIdMethods inherited from class org.craftercms.studio.api.v2.event.StudioEvent
getTimestamp, getUserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.craftercms.studio.api.v2.event.SiteBroadcastEvent
getSiteId
-
Field Details
-
targetPath
-
waitForCompletion
protected final boolean waitForCompletion
-
-
Constructor Details
-
ContentEvent
-
ContentEvent
-
-
Method Details
-
getTargetPath
-
isWaitForCompletion
public boolean isWaitForCompletion() -
getEventType
- Specified by:
getEventTypein interfaceBroadcastEvent
-
toString
-