io.quarkiverse.githubapp.event.WorkflowRun 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 = "workflow_run", payload = GHEventPayload.WorkflowRun.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface WorkflowRun {
String value() default Actions.ALL;
@WorkflowRun(Completed.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Completed {
String NAME = Actions.COMPLETED;
}
@WorkflowRun(Requested.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Requested {
String NAME = Actions.REQUESTED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy