io.quarkiverse.githubapp.event.InstallationRepositories 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 = "installation_repositories", payload = GHEventPayload.InstallationRepositories.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface InstallationRepositories {
String value() default Actions.ALL;
@InstallationRepositories(Added.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Added {
String NAME = Actions.ADDED;
}
@InstallationRepositories(Removed.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Removed {
String NAME = Actions.REMOVED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy