run.halo.app.event.post.PostDeletedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
API of halo project, connecting by other projects.
The newest version!
package run.halo.app.event.post;
import run.halo.app.core.extension.content.Post;
import run.halo.app.plugin.SharedEvent;
@SharedEvent
public class PostDeletedEvent extends PostEvent {
private final Post post;
public PostDeletedEvent(Object source, Post post) {
super(source, post.getMetadata().getName());
this.post = post;
}
/**
* Get original post.
*
* @return original post.
*/
public Post getPost() {
return post;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy