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 class
ArchiveCommand.UnsupportedFormatException
Signals 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 DirCache
AddCommand. call()
Executes theAdd
command.Note
AddNoteCommand. call()
ApplyResult
ApplyCommand. call()
Executes theApplyCommand
command with all the options and parameters collected by the setter methods (e.g.java.io.OutputStream
ArchiveCommand. call()
BlameResult
BlameCommand. call()
Generate a list of lines with information about when the lines were introduced into the file path.Ref
CheckoutCommand. call()
CherryPickResult
CherryPickCommand. call()
Executes theCherry-Pick
command with all the options and parameters collected by the setter methods (e.g.java.util.Set<java.lang.String>
CleanCommand. call()
Executes theclean
command with all the options and parameters collected by the setter methods of this class.Git
CloneCommand. call()
Executes theClone
command.RevCommit
CommitCommand. call()
Executes thecommit
command with all the options and parameters collected by the setter methods of this class.Ref
CreateBranchCommand. call()
java.util.List<java.lang.String>
DeleteBranchCommand. call()
java.util.List<java.lang.String>
DeleteTagCommand. call()
java.lang.String
DescribeCommand. call()
Describes the specified commit.java.util.List<DiffEntry>
DiffCommand. call()
Executes theDiff
command with all the options and parameters collected by the setter methods (e.g.FetchResult
FetchCommand. call()
Executes thefetch
command with all the options and parameters collected by the setter methods of this class.java.util.Properties
GarbageCollectCommand. call()
abstract T
GitCommand. call()
Executes the commandGit
InitCommand. call()
Executes theInit
command.java.util.List<Ref>
ListBranchCommand. call()
java.util.List<Note>
ListNotesCommand. call()
java.util.List<Ref>
ListTagCommand. call()
java.lang.Iterable<RevCommit>
LogCommand. call()
Executes theLog
command with all the options and parameters collected by the setter methods (e.g.java.util.Collection<Ref>
LsRemoteCommand. call()
Executes theLsRemote
command with all the options and parameters collected by the setter methods (e.g.MergeResult
MergeCommand. call()
Executes theMerge
command with all the options and parameters collected by the setter methods (e.g.java.util.Map<ObjectId,java.lang.String>
NameRevCommand. call()
PullResult
PullCommand. call()
Executes thePull
command with all the options and parameters collected by the setter methods (e.g.java.lang.Iterable<PushResult>
PushCommand. call()
Executes thepush
command with all the options and parameters collected by the setter methods of this class.RebaseResult
RebaseCommand. call()
Executes theRebase
command with all the options and parameters collected by the setter methods of this class.java.util.Collection<ReflogEntry>
ReflogCommand. call()
Run the reflog commandNote
RemoveNoteCommand. call()
Ref
RenameBranchCommand. call()
Ref
ResetCommand. call()
Executes theReset
command.RevCommit
RevertCommand. call()
Executes therevert
command with all the options and parameters collected by the setter methods (e.g.DirCache
RmCommand. call()
Executes theRm
command.Note
ShowNoteCommand. call()
ObjectId
StashApplyCommand. call()
Apply the changes in a stashed commit to the working directory and indexRevCommit
StashCreateCommand. call()
Stash the contents on the working directory and index in separate commits and reset to the current HEAD commit.ObjectId
StashDropCommand. call()
Drop the configured entry from the stash reflog and return value of the stash reference after the drop occursjava.util.Collection<RevCommit>
StashListCommand. call()
Status
StatusCommand. call()
Executes theStatus
command with all the options and parameters collected by the setter methods of this class.Repository
SubmoduleAddCommand. call()
Executes theSubmoduleAddCommand
TheRepository
instance returned by this command needs to be closed by the caller to free resources held by theRepository
instance.java.util.Collection<java.lang.String>
SubmoduleInitCommand. call()
java.util.Map<java.lang.String,SubmoduleStatus>
SubmoduleStatusCommand. call()
java.util.Map<java.lang.String,java.lang.String>
SubmoduleSyncCommand. call()
java.util.Collection<java.lang.String>
SubmoduleUpdateCommand. call()
Execute the SubmoduleUpdateCommand command.Ref
TagCommand. call()
Executes thetag
command with all the options and parameters collected by the setter methods of this class.java.util.Map<java.lang.String,Ref>
LsRemoteCommand. callAsMap()
Same asLsRemoteCommand.call()
, but return Map instead of Collection.java.util.Properties
GarbageCollectCommand. getStatistics()
Computes and returns the repository statistics.RevCommit
RebaseCommand. 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 class
CanceledException
Exception thrown when an operation was canceledclass
CannotDeleteCurrentBranchException
Thrown when trying to delete a branch which is currently checked outclass
CheckoutConflictException
Exception thrown when a command can't succeed because of unresolved conflicts.class
ConcurrentRefUpdateException
Exception thrown when a command wants to update a ref but failed because another process is accessing (or even also updating) the ref.class
DetachedHeadException
Exception thrown when a command expected a non-detachedHEAD
referenceclass
InvalidConfigurationException
Exception thrown when a command fails due to an invalid configurationclass
InvalidMergeHeadsException
Exception thrown when a merge command was called without specifying the proper amount/type of merge heads.class
InvalidRebaseStepException
Exception thrown if a rebase step is invalid.class
InvalidRefNameException
Exception thrown when an invalid Ref name was encounteredclass
InvalidRemoteException
Exception thrown when a fetch command was called with an invalid remoteclass
InvalidTagNameException
Exception thrown when a tag command was called with an invalid tag name (or null), such as bad~tag.class
MultipleParentsNotAllowedException
The commit to be cherry-pick'ed did not have exactly one parentclass
NoFilepatternException
Exception thrown when the options given to a command don't include a file pattern which is mandatory for processing.class
NoHeadException
Exception thrown when a command expected theHEAD
reference to exist but couldn't find such a referenceclass
NoMessageException
Exception thrown when the options given to a command don't include a specification of a message text (e.g.class
NotMergedException
Thrown when branch deletion fails due to unmerged dataclass
PatchApplyException
Exception thrown when applying a patch failsclass
PatchFormatException
Exception thrown when applying a patch fails due to an invalid formatclass
RefAlreadyExistsException
Thrown when trying to create aRef
with the same name as an existing oneclass
RefNotFoundException
Thrown when a Ref can not be resolvedclass
RejectCommitException
Exception thrown when a commit is rejected by a hook (eitherpre-commit
orcommit-msg
).class
StashApplyFailureException
Thrown from StashApplyCommand when stash apply failsclass
TransportException
Exception thrown when transport operation failedclass
UnmergedPathsException
Thrown when branch deletion fails due to unmerged dataclass
WrongRepositoryStateException
Exception 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 RevCommit
RepoCommand. call()
byte[]
RepoCommand.DefaultRemoteReader. readFile(java.lang.String uri, java.lang.String ref, java.lang.String path)
byte[]
RepoCommand.RemoteReader. readFile(java.lang.String uri, java.lang.String ref, java.lang.String path)
Read a file from a remote repository.protected byte[]
RepoCommand.DefaultRemoteReader. readFileFromRepo(Repository repo, java.lang.String ref, java.lang.String path)
Read a file from the repositoryjava.io.InputStream
RepoCommand.IncludedFileReader. readIncludeFile(java.lang.String path)
Read a file from the same base dir of the manifest xml file.ObjectId
RepoCommand.DefaultRemoteReader. sha1(java.lang.String uri, java.lang.String ref)
ObjectId
RepoCommand.RemoteReader. sha1(java.lang.String uri, java.lang.String ref)
Read a remote ref sha1.
-