Uses of Class
org.eclipse.jgit.api.errors.GitAPIException
-
Packages that use GitAPIException Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.api.errors Exceptions thrown by API commands.org.eclipse.jgit.gitrepo -
-
Uses of GitAPIException in org.eclipse.jgit.api
Subclasses of GitAPIException in org.eclipse.jgit.api Modifier and Type Class Description static classArchiveCommand.UnsupportedFormatExceptionSignals an attempt to use an archival format that ArchiveCommand doesn't know about (for example due to a typo).Methods in org.eclipse.jgit.api that throw GitAPIException Modifier and Type Method Description DirCacheAddCommand. call()Executes theAddcommand.NoteAddNoteCommand. call()ApplyResultApplyCommand. call()Executes theApplyCommandcommand with all the options and parameters collected by the setter methods (e.g.OutputStreamArchiveCommand. call()BlameResultBlameCommand. call()Generate a list of lines with information about when the lines were introduced into the file path.RefCheckoutCommand. call()CherryPickResultCherryPickCommand. call()Executes theCherry-Pickcommand with all the options and parameters collected by the setter methods (e.g.Set<String>CleanCommand. call()Executes thecleancommand with all the options and parameters collected by the setter methods of this class.GitCloneCommand. call()Executes theClonecommand.RevCommitCommitCommand. call()Executes thecommitcommand with all the options and parameters collected by the setter methods of this class.RefCreateBranchCommand. call()List<String>DeleteBranchCommand. call()List<String>DeleteTagCommand. call()StringDescribeCommand. call()Describes the specified commit.List<DiffEntry>DiffCommand. call()Executes theDiffcommand with all the options and parameters collected by the setter methods (e.g.FetchResultFetchCommand. call()Executes thefetchcommand with all the options and parameters collected by the setter methods of this class.PropertiesGarbageCollectCommand. call()abstract TGitCommand. call()Executes the commandGitInitCommand. call()Executes theInitcommand.List<Ref>ListBranchCommand. call()List<Note>ListNotesCommand. call()List<Ref>ListTagCommand. call()Iterable<RevCommit>LogCommand. call()Executes theLogcommand with all the options and parameters collected by the setter methods (e.g.Collection<Ref>LsRemoteCommand. call()Executes theLsRemotecommand with all the options and parameters collected by the setter methods (e.g.MergeResultMergeCommand. call()Executes theMergecommand with all the options and parameters collected by the setter methods (e.g.Map<ObjectId,String>NameRevCommand. call()PullResultPullCommand. call()Executes thePullcommand with all the options and parameters collected by the setter methods (e.g.Iterable<PushResult>PushCommand. call()Executes thepushcommand with all the options and parameters collected by the setter methods of this class.RebaseResultRebaseCommand. call()Executes theRebasecommand with all the options and parameters collected by the setter methods of this class.Collection<ReflogEntry>ReflogCommand. call()Run the reflog commandNoteRemoveNoteCommand. call()RefRenameBranchCommand. call()RefResetCommand. call()Executes theResetcommand.RevCommitRevertCommand. call()Executes therevertcommand with all the options and parameters collected by the setter methods (e.g.DirCacheRmCommand. call()Executes theRmcommand.NoteShowNoteCommand. call()ObjectIdStashApplyCommand. call()Apply the changes in a stashed commit to the working directory and indexRevCommitStashCreateCommand. call()Stash the contents on the working directory and index in separate commits and reset to the current HEAD commit.ObjectIdStashDropCommand. call()Drop the configured entry from the stash reflog and return value of the stash reference after the drop occursCollection<RevCommit>StashListCommand. call()StatusStatusCommand. call()Executes theStatuscommand with all the options and parameters collected by the setter methods of this class.RepositorySubmoduleAddCommand. call()Executes theSubmoduleAddCommandTheRepositoryinstance returned by this command needs to be closed by the caller to free resources held by theRepositoryinstance.Collection<String>SubmoduleInitCommand. call()Map<String,SubmoduleStatus>SubmoduleStatusCommand. call()Map<String,String>SubmoduleSyncCommand. call()Collection<String>SubmoduleUpdateCommand. call()Execute the SubmoduleUpdateCommand command.RefTagCommand. call()Executes thetagcommand with all the options and parameters collected by the setter methods of this class.Map<String,Ref>LsRemoteCommand. callAsMap()Same asLsRemoteCommand.call(), but return Map instead of Collection.PropertiesGarbageCollectCommand. getStatistics()Computes and returns the repository statistics.RevCommitRebaseCommand. tryFastForward(RevCommit newCommit)checks if we can fast-forward and returns the new head if it is possible -
Uses of GitAPIException in org.eclipse.jgit.api.errors
Subclasses of GitAPIException in org.eclipse.jgit.api.errors Modifier and Type Class Description classCanceledExceptionException thrown when an operation was canceledclassCannotDeleteCurrentBranchExceptionThrown when trying to delete a branch which is currently checked outclassCheckoutConflictExceptionException thrown when a command can't succeed because of unresolved conflicts.classConcurrentRefUpdateExceptionException thrown when a command wants to update a ref but failed because another process is accessing (or even also updating) the ref.classDetachedHeadExceptionException thrown when a command expected a non-detachedHEADreferenceclassInvalidConfigurationExceptionException thrown when a command fails due to an invalid configurationclassInvalidMergeHeadsExceptionException thrown when a merge command was called without specifying the proper amount/type of merge heads.classInvalidRebaseStepExceptionException thrown if a rebase step is invalid.classInvalidRefNameExceptionException thrown when an invalid Ref name was encounteredclassInvalidRemoteExceptionException thrown when a fetch command was called with an invalid remoteclassInvalidTagNameExceptionException thrown when a tag command was called with an invalid tag name (or null), such as bad~tag.classMultipleParentsNotAllowedExceptionThe commit to be cherry-pick'ed did not have exactly one parentclassNoFilepatternExceptionException thrown when the options given to a command don't include a file pattern which is mandatory for processing.classNoHeadExceptionException thrown when a command expected theHEADreference to exist but couldn't find such a referenceclassNoMessageExceptionException thrown when the options given to a command don't include a specification of a message text (e.g.classNotMergedExceptionThrown when branch deletion fails due to unmerged dataclassPatchApplyExceptionException thrown when applying a patch failsclassPatchFormatExceptionException thrown when applying a patch fails due to an invalid formatclassRefAlreadyExistsExceptionThrown when trying to create aRefwith the same name as an existing oneclassRefNotFoundExceptionThrown when a Ref can not be resolvedclassRejectCommitExceptionException thrown when a commit is rejected by a hook (eitherpre-commitorcommit-msg).classStashApplyFailureExceptionThrown from StashApplyCommand when stash apply failsclassTransportExceptionException thrown when transport operation failedclassUnmergedPathsExceptionThrown when branch deletion fails due to unmerged dataclassWrongRepositoryStateExceptionException thrown when the state of the repository doesn't allow the execution of a certain command. -
Uses of GitAPIException in org.eclipse.jgit.gitrepo
Methods in org.eclipse.jgit.gitrepo that throw GitAPIException Modifier and Type Method Description RevCommitRepoCommand. call()byte[]RepoCommand.DefaultRemoteReader. readFile(String uri, String ref, String path)byte[]RepoCommand.RemoteReader. readFile(String uri, String ref, String path)Read a file from a remote repository.protected byte[]RepoCommand.DefaultRemoteReader. readFileFromRepo(Repository repo, String ref, String path)Read a file from the repositoryInputStreamRepoCommand.IncludedFileReader. readIncludeFile(String path)Read a file from the same base dir of the manifest xml file.ObjectIdRepoCommand.DefaultRemoteReader. sha1(String uri, String ref)ObjectIdRepoCommand.RemoteReader. sha1(String uri, String ref)Read a remote ref sha1.
-