io.quarkiverse.githubapp.event.Release 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 = "release", payload = GHEventPayload.Release.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface Release {
String value() default Actions.ALL;
@Release(Created.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Created {
String NAME = Actions.CREATED;
}
@Release(Deleted.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Deleted {
String NAME = Actions.DELETED;
}
@Release(Edited.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Edited {
String NAME = Actions.EDITED;
}
@Release(Prereleased.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Prereleased {
String NAME = Actions.PRERELEASED;
}
@Release(Published.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Published {
String NAME = Actions.PUBLISHED;
}
@Release(Released.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Released {
String NAME = Actions.RELEASED;
}
@Release(Unpublished.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Unpublished {
String NAME = Actions.UNPUBLISHED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy