run.halo.app.event.post.PostEvent 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 org.springframework.context.ApplicationEvent;
/**
* An abstract class for post events.
*
* @author johnniang
*/
public abstract class PostEvent extends ApplicationEvent {
private final String name;
public PostEvent(Object source, String name) {
super(source);
this.name = name;
}
/**
* Gets post metadata name.
*
* @return post metadata name
*/
public String getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy