Package | Description |
---|---|
org.eclipse.jgit.api | |
org.eclipse.jgit.api.errors |
Modifier and Type | Method and Description |
---|---|
abstract T |
GitCommand.call()
Executes the command
|
ApplyResult |
ApplyCommand.call()
Executes the
ApplyCommand command with all the options and
parameters collected by the setter methods (e.g. |
ObjectId |
StashApplyCommand.call()
Apply the changes in a stashed commit to the working directory and index
|
CherryPickResult |
CherryPickCommand.call()
Executes the
Cherry-Pick command with all the options and
parameters collected by the setter methods (e.g. |
Ref |
ResetCommand.call()
Executes the
Reset command. |
Note |
AddNoteCommand.call() |
java.util.List<Ref> |
ListBranchCommand.call() |
RevCommit |
StashCreateCommand.call()
Stash the contents on the working directory and index in separate commits
and reset to the current HEAD commit.
|
java.util.Map<java.lang.String,java.lang.String> |
SubmoduleSyncCommand.call() |
Ref |
CreateBranchCommand.call() |
MergeResult |
MergeCommand.call()
Executes the
Merge command with all the options and parameters
collected by the setter methods (e.g. |
Note |
RemoveNoteCommand.call() |
ObjectId |
StashDropCommand.call()
Drop the configured entry from the stash reflog and return value of the
stash reference after the drop occurs
|
java.util.List<java.lang.String> |
DeleteTagCommand.call() |
java.util.Set<java.lang.String> |
CleanCommand.call()
Executes the
clean command with all the options and parameters
collected by the setter methods of this class. |
java.lang.Iterable<PushResult> |
PushCommand.call()
Executes the
push command with all the options and parameters
collected by the setter methods of this class. |
java.util.List<Ref> |
ListTagCommand.call() |
java.util.List<Note> |
ListNotesCommand.call() |
Git |
CloneCommand.call()
Executes the
Clone command. |
Ref |
RenameBranchCommand.call() |
java.util.Collection<Ref> |
LsRemoteCommand.call()
Executes the
LsRemote command with all the options and parameters
collected by the setter methods (e.g. |
DirCache |
RmCommand.call()
Executes the
Rm command. |
java.lang.Iterable<RevCommit> |
LogCommand.call()
Executes the
Log command with all the options and parameters
collected by the setter methods (e.g. |
Note |
ShowNoteCommand.call() |
RevCommit |
CommitCommand.call()
Executes the
commit command with all the options and parameters
collected by the setter methods of this class. |
java.util.Collection<RevCommit> |
StashListCommand.call() |
RevCommit |
RevertCommand.call()
Executes the
revert command with all the options and parameters
collected by the setter methods (e.g. |
Repository |
SubmoduleAddCommand.call() |
PullResult |
PullCommand.call()
Executes the
Pull command with all the options and parameters
collected by the setter methods (e.g. |
DirCache |
AddCommand.call()
Executes the
Add command. |
java.util.List<DiffEntry> |
DiffCommand.call()
Executes the
Diff command with all the options and parameters
collected by the setter methods (e.g. |
Status |
StatusCommand.call()
Executes the
Status command with all the options and parameters
collected by the setter methods of this class. |
FetchResult |
FetchCommand.call()
Executes the
fetch command with all the options and parameters
collected by the setter methods of this class. |
java.util.Collection<ReflogEntry> |
ReflogCommand.call()
Run the reflog command
|
Ref |
TagCommand.call()
Executes the
tag command with all the options and parameters
collected by the setter methods of this class. |
java.util.Collection<java.lang.String> |
SubmoduleInitCommand.call() |
java.util.Map<java.lang.String,SubmoduleStatus> |
SubmoduleStatusCommand.call() |
java.util.List<java.lang.String> |
DeleteBranchCommand.call() |
RebaseResult |
RebaseCommand.call()
Executes the
Rebase command with all the options and parameters
collected by the setter methods of this class. |
Ref |
CheckoutCommand.call() |
java.util.Collection<java.lang.String> |
SubmoduleUpdateCommand.call()
Execute the SubmoduleUpdateCommand command.
|
Git |
InitCommand.call()
Executes the
Init command. |
BlameResult |
BlameCommand.call()
Generate a list of lines with information about when the lines were
introduced into the file path.
|
RevCommit |
RebaseCommand.tryFastForward(RevCommit newCommit)
checks if we can fast-forward and returns the new head if it is possible
|
Modifier and Type | Class and Description |
---|---|
class |
CanceledException
Exception thrown when an operation was canceled
|
class |
CannotDeleteCurrentBranchException
Thrown when trying to delete a branch which is currently checked out
|
class |
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-detached
HEAD
reference |
class |
InvalidConfigurationException
Exception thrown when a command fails due to an invalid configuration
|
class |
InvalidMergeHeadsException
Exception thrown when a merge command was called without specifying the
proper amount/type of merge heads.
|
class |
InvalidRefNameException
Exception thrown when an invalid Ref name was encountered
|
class |
InvalidRemoteException
Exception thrown when a fetch command was called with an invalid remote
|
class |
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 parent
|
class |
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 the
HEAD reference to exist
but couldn't find such a reference |
class |
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 data
|
class |
PatchApplyException
Exception thrown when applying a patch fails
|
class |
PatchFormatException
Exception thrown when applying a patch fails due to an invalid format
|
class |
RefAlreadyExistsException
Thrown when trying to create a
Ref with the same name as an exsiting
one |
class |
RefNotFoundException
Thrown when a Ref can not be resolved
|
class |
TransportException
Exception thrown when transport operation failed
|
class |
UnmergedPathsException
Thrown when branch deletion fails due to unmerged data
|
class |
WrongRepositoryStateException
Exception thrown when the state of the repository doesn't allow the execution
of a certain command.
|
Copyright © 2012. All Rights Reserved.