io.quarkiverse.githubapp.event.Repository 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 = "repository", payload = GHEventPayload.Repository.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface Repository {
String value() default Actions.ALL;
@Repository(Archived.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Archived {
String NAME = Actions.ARCHIVED;
}
@Repository(Created.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Created {
String NAME = Actions.CREATED;
}
@Repository(Deleted.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Deleted {
String NAME = Actions.DELETED;
}
@Repository(Edited.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Edited {
String NAME = Actions.EDITED;
}
@Release(Privatized.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Privatized {
String NAME = Actions.PRIVATIZED;
}
@Release(Publicized.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Publicized {
String NAME = Actions.PUBLICIZED;
}
@Release(Renamed.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Renamed {
String NAME = Actions.RENAMED;
}
@Release(Transferred.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Transferred {
String NAME = Actions.TRANSFERRED;
}
@Release(Unarchived.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Unarchived {
String NAME = Actions.UNARCHIVED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy