Package io.milton.event
Class AfterMoveEvent
- java.lang.Object
-
- io.milton.event.AfterMoveEvent
-
- All Implemented Interfaces:
Event,ResourceEvent
public class AfterMoveEvent extends Object implements ResourceEvent
Fired just after the resource is moved.
-
-
Constructor Summary
Constructors Constructor Description AfterMoveEvent(Resource res, CollectionResource destCollection, String destNewName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionResourcegetDestCollection()StringgetNewName()ResourcegetResource()
-
-
-
Constructor Detail
-
AfterMoveEvent
public AfterMoveEvent(Resource res, CollectionResource destCollection, String destNewName)
- Parameters:
res- - the resource to movedestCollection- - the destination collectiondestNewName- - the name of the resource within the destination folder
-
-
Method Detail
-
getResource
public Resource getResource()
- Specified by:
getResourcein interfaceResourceEvent
-
getDestCollection
public CollectionResource getDestCollection()
-
getNewName
public String getNewName()
-
-