io.quarkiverse.githubapp.event.PullRequestReview 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 jakarta.inject.Qualifier;
import org.kohsuke.github.GHEventPayload;
@Event(name = "pull_request_review", payload = GHEventPayload.PullRequestReview.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface PullRequestReview {
String value() default Actions.ALL;
@PullRequestReview(Dismissed.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Dismissed {
String NAME = Actions.DISMISSED;
}
@PullRequestReview(Edited.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Edited {
String NAME = Actions.EDITED;
}
@PullRequestReview(Submitted.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Submitted {
String NAME = Actions.SUBMITTED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy