Class MoveContentEvent
- 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
-
- org.craftercms.studio.api.v2.event.content.MoveContentEvent
-
- All Implemented Interfaces:
BroadcastEvent
public class MoveContentEvent extends ContentEvent
Event triggered when there is a content move change- Since:
- 4.0.1
- Author:
- Phil Nguyen
-
-
Field Summary
Fields Modifier and Type Field Description protected String
sourcePath
-
Fields inherited from class org.craftercms.studio.api.v2.event.content.ContentEvent
targetPath, waitForCompletion
-
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 MoveContentEvent(org.springframework.security.core.Authentication authentication, String siteId, String sourcePath, String targetPath)
MoveContentEvent(org.springframework.security.core.Authentication authentication, String siteId, String sourcePath, String targetPath, boolean waitForCompletion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEventType()
String
getSourcePath()
String
toString()
-
Methods inherited from class org.craftercms.studio.api.v2.event.content.ContentEvent
getTargetPath, isWaitForCompletion
-
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
-
-
-
-
Field Detail
-
sourcePath
protected final String sourcePath
-
-
Method Detail
-
getSourcePath
public String getSourcePath()
-
getEventType
public String getEventType()
- Specified by:
getEventType
in interfaceBroadcastEvent
- Overrides:
getEventType
in classContentEvent
-
toString
public String toString()
- Overrides:
toString
in classContentEvent
-
-