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

org.kohsuke.github.GHExternalGroupPage Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha-2
Show newest version
package org.kohsuke.github;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

/**
 * A list of external groups.
 *
 * @author Miguel Esteban Gutiérrez
 */
class GHExternalGroupPage {

    private static final GHExternalGroup[] GH_EXTERNAL_GROUPS = new GHExternalGroup[0];

    private GHExternalGroup[] groups;

    GHExternalGroupPage() {
        this(GH_EXTERNAL_GROUPS);
    }

    GHExternalGroupPage(GHExternalGroup[] groups) {
        this.groups = groups;
    }

    /**
     * Gets the groups.
     *
     * @return the groups
     */
    @SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected behavior")
    public GHExternalGroup[] getGroups() {
        return groups;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy