io.quarkiverse.githubapp.event.IssueComment Maven / Gradle / Ivy
package io.quarkiverse.githubapp.event;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.inject.Qualifier;
import org.kohsuke.github.GHEventPayload;
@Event(name = "issue_comment", payload = GHEventPayload.IssueComment.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface IssueComment {
String value() default Actions.ALL;
@IssueComment(Created.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Created {
String NAME = Actions.CREATED;
}
@IssueComment(Deleted.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Deleted {
String NAME = Actions.DELETED;
}
@IssueComment(Edited.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Edited {
String NAME = Actions.EDITED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy