Package org.jenkinsci.plugin.gitea.client.api
package org.jenkinsci.plugin.gitea.client.api
Client API for Gitea.
Ideally this would be a separate non-Jenkins plugin dependency. This client is designed to not require any
Jenkins classes. (Note there is one Jenkins specific detail around classloaders in
Gitea.jenkinsPluginClassLoader()).
Usage
The entry point to this API is theGitea class. Use this class to
establish a GiteaConnection to the server, e.g.
try (GiteaConnection c = Gitea.server(...).as(...).open()) {
// do stuff with the connection
}
-
ClassDescriptionEntry point to the Gitea client API for opening a
GiteaConnection.Represents an annotated tag.Base class for client authentication information.Represents anonymous authentication to the Gitea API.Represents token based authentication to the Gitea API.Represents username/password authentication to the Gitea APIRepresents a Gitea Branch.Represents a commit.Represents an individual commit detail.A Commit hash with Url.Represents the status of a commit.Represents a commit status.The Gitea Client connection, useGiteato open a connection.GiteaGiteaEventType.CREATEevent.GiteaGiteaEventType.DELETEevent.Generic Gitea event.Gitea event types.A Gitea web hook for notification of events.The type ofGiteaHook.A richerIOExceptionthat reflects the status code of a response.GiteaObject<T extends GiteaObject<T>>Base class for all types in the Gitea object model.A Gitea organization.Owner of a repository.TheGiteaHookevent payload.GiteaGiteaEventType.PULL_REQUESTevent.GiteaGiteaEventType.PUSHevent.GiteaGiteaEventType.RELEASEevent.GiteaGiteaEventType.REPOSITORYevent.Represents a Gitea Tag.