All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.githubapp.event.CheckSuite Maven / Gradle / Ivy

There is a newer version: 2.8.2
Show newest version
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 = "check_suite", payload = GHEventPayload.CheckSuite.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface CheckSuite {

    String value() default Actions.ALL;

    @CheckSuite(Completed.NAME)
    @Target(PARAMETER)
    @Retention(RUNTIME)
    @Qualifier
    public @interface Completed {

        String NAME = Actions.COMPLETED;
    }

    @CheckSuite(Requested.NAME)
    @Target(PARAMETER)
    @Retention(RUNTIME)
    @Qualifier
    public @interface Requested {

        String NAME = Actions.REQUESTED;
    }

    @CheckSuite(Rerequested.NAME)
    @Target(PARAMETER)
    @Retention(RUNTIME)
    @Qualifier
    public @interface Rerequested {

        String NAME = Actions.REREQUESTED;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy