Index

A C D E F G H I J L M N O P R S T V W Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

abort() - Method in class io.github.jbastgen.stemma.git.sequence.Sequencer
Gives up: the branch goes back to where it was before the series and the state is removed.
apply(SequenceKind, String, int) - Method in interface io.github.jbastgen.stemma.git.sequence.SequenceEngine
Applies the changes of the commit (cherry-pick) or their opposite (revert) to the index and the working tree without committing.
author() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Returns the value of the author record component.
Author(String, String, long, String) - Constructor for record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Creates an instance of a Author record class.

C

capabilities() - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
capabilities() - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
clearMarkers() - Method in interface io.github.jbastgen.stemma.git.sequence.SequenceEngine
Removes the files that a cherry-pick or revert leaves in .git (CHERRY_PICK_HEAD, REVERT_HEAD, MERGE_MSG).
CliGitBackend - Class in io.github.jbastgen.stemma.git.cli
Backend that drives an installed git executable.
CliGitBackend(GitInstallation) - Constructor for class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
cloneRepository(String, Path) - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
cloneRepository(String, Path) - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
commit(String, SequenceEngine.Author) - Method in interface io.github.jbastgen.stemma.git.sequence.SequenceEngine
Commits what is staged with this message; author is null for the current identity.
CommitText - Class in io.github.jbastgen.stemma.git.sequence
Reads the text of a commit object as git cat-file commit writes it.
compareTo(GitVersion) - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
 
configure(GitOptions) - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
configure(GitOptions) - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
current() - Static method in enum class io.github.jbastgen.stemma.git.cli.OperatingSystem
The system the application runs on, from os.name.

D

discover() - Method in class io.github.jbastgen.stemma.git.cli.GitDiscovery
All usable git installations found on this machine, in order of preference: PATH entries first, then well-known locations.
displayName() - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
displayName() - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 

E

email() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Returns the value of the email record component.
equals(Object) - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Indicates whether some other object is "equal to" this one.
executable() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Returns the value of the executable record component.
executableName() - Method in enum class io.github.jbastgen.stemma.git.cli.OperatingSystem
The file name of the git executable, e.g.

F

findBest() - Method in class io.github.jbastgen.stemma.git.cli.GitDiscovery
The preferred installation: the first supported one, or empty if there is none.

G

gitDir() - Method in interface io.github.jbastgen.stemma.git.sequence.SequenceEngine
The .git folder; the state of a series is kept in a folder of its own inside it.
GitDiscovery - Class in io.github.jbastgen.stemma.git.cli
Finds and validates git installations: on the PATH, in well-known locations per operating system, and at a location chosen by the user (an installation directory or the executable itself).
GitDiscovery() - Constructor for class io.github.jbastgen.stemma.git.cli.GitDiscovery
Looks at the real system: its operating system, environment and home folder.
GitInstallation - Record Class in io.github.jbastgen.stemma.git.cli
A validated git executable.
GitInstallation(Path, GitVersion, String, String) - Constructor for record class io.github.jbastgen.stemma.git.cli.GitInstallation
Creates an instance of a GitInstallation record class.
GitVersion - Record Class in io.github.jbastgen.stemma.git.cli
A git version such as 2.43.0.
GitVersion(int, int, int) - Constructor for record class io.github.jbastgen.stemma.git.cli.GitVersion
Creates an instance of a GitVersion record class.

H

hashCode() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Returns a hash code value for this object.
hashCode() - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Returns a hash code value for this object.
hashCode() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Returns a hash code value for this object.
hashCode() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Returns a hash code value for this object.
head() - Method in interface io.github.jbastgen.stemma.git.sequence.SequenceEngine
The commit HEAD points to, or null in a repository without commits.

I

id() - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
id() - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
id() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Returns the value of the id record component.
ID - Static variable in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
ID - Static variable in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
init(Path, String) - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
init(Path, String) - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
inProgress() - Method in class io.github.jbastgen.stemma.git.sequence.Sequencer
What is in progress, from the state file; NONE when there is none or it cannot be read.
installation() - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
The installation of git this backend runs.
io.github.jbastgen.stemma.git.cli - package io.github.jbastgen.stemma.git.cli
Git backend that runs an installed git executable, and detection/validation of git installations.
io.github.jbastgen.stemma.git.jgit - package io.github.jbastgen.stemma.git.jgit
 
io.github.jbastgen.stemma.git.sequence - package io.github.jbastgen.stemma.git.sequence
 
isAtLeast(GitVersion) - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Whether this version is the same as or newer than other.
isRepository(Path) - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
isRepository(Path) - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
isSupported() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Whether this git is recent enough for the CLI backend.

J

JGitBackend - Class in io.github.jbastgen.stemma.git.jgit
Built-in backend using Eclipse JGit.
JGitBackend() - Constructor for class io.github.jbastgen.stemma.git.jgit.JGitBackend
 

L

label() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
One-line description for lists in the UI.
LINUX - Enum constant in enum class io.github.jbastgen.stemma.git.cli.OperatingSystem
 

M

MAC - Enum constant in enum class io.github.jbastgen.stemma.git.cli.OperatingSystem
 
major() - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Returns the value of the major record component.
message() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Returns the value of the message record component.
meta(String) - Method in interface io.github.jbastgen.stemma.git.sequence.SequenceEngine
The commit for a name or id, with what is needed to repeat or undo it; throws a GitException if there is none.
Meta(String, int, String, SequenceEngine.Author) - Constructor for record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Creates an instance of a Meta record class.
MINIMUM - Static variable in record class io.github.jbastgen.stemma.git.cli.GitVersion
Oldest git version the CLI backend supports.
minor() - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Returns the value of the minor record component.

N

name() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Returns the value of the name record component.
next() - Method in class io.github.jbastgen.stemma.git.sequence.Sequencer
Continues after the conflicts were resolved and staged: commits the step, then runs the rest.

O

open(Path) - Method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
 
open(Path) - Method in class io.github.jbastgen.stemma.git.jgit.JGitBackend
 
OperatingSystem - Enum Class in io.github.jbastgen.stemma.git.cli
The operating systems Stemma runs on; decides where to look for git and how the executable is named.
origin() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Returns the value of the origin record component.

P

parents() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Returns the value of the parents record component.
parse(String) - Static method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Parses the output of git --version, e.g.
parse(String, String) - Static method in class io.github.jbastgen.stemma.git.sequence.CommitText
Reads a raw commit object (git cat-file commit): the number of parents, the author and the message.
patch() - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Returns the value of the patch record component.
probe(Path, String) - Method in class io.github.jbastgen.stemma.git.cli.GitDiscovery
Runs git --version on one executable and validates the answer.
processesStarted() - Static method in class io.github.jbastgen.stemma.git.cli.CliGitBackend
How many git processes have been started so far (all backends of this kind together).

R

resetHard(String) - Method in interface io.github.jbastgen.stemma.git.sequence.SequenceEngine
Moves the branch and the working tree to the commit and discards all changes (reset --hard).
resolve(Path, String) - Method in class io.github.jbastgen.stemma.git.cli.GitDiscovery
Resolves a location chosen by the user: either the git executable or an installation directory.

S

SequenceEngine - Interface in io.github.jbastgen.stemma.git.sequence
What a backend has to do for Sequencer: apply one commit to the index and the working tree, commit the index, and go back.
SequenceEngine.Author - Record Class in io.github.jbastgen.stemma.git.sequence
 
SequenceEngine.Meta - Record Class in io.github.jbastgen.stemma.git.sequence
 
Sequencer - Class in io.github.jbastgen.stemma.git.sequence
Cherry-pick and revert of several commits, the same for both backends: a queue of commits that is applied one after the other through a SequenceEngine.
Sequencer(GitRepository, SequenceEngine) - Constructor for class io.github.jbastgen.stemma.git.sequence.Sequencer
 
skip() - Method in class io.github.jbastgen.stemma.git.sequence.Sequencer
Leaves out the commit that stopped: its changes are thrown away, then the rest runs.
start(SequenceKind, List<String>, boolean, boolean, int) - Method in class io.github.jbastgen.stemma.git.sequence.Sequencer
Starts a series of commits and runs it until it is done or stops on a conflict.
subject() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
The first line of the message.

T

time() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Returns the value of the time record component.
toString() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Returns a string representation of this record class.
toString() - Method in record class io.github.jbastgen.stemma.git.cli.GitVersion
Returns a string representation of this record class.
toString() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Returns a string representation of this record class.
toString() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Meta
Returns a string representation of this record class.

V

valueOf(String) - Static method in enum class io.github.jbastgen.stemma.git.cli.OperatingSystem
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.jbastgen.stemma.git.cli.OperatingSystem
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Returns the value of the version record component.
versionOutput() - Method in record class io.github.jbastgen.stemma.git.cli.GitInstallation
Returns the value of the versionOutput record component.

W

WINDOWS - Enum constant in enum class io.github.jbastgen.stemma.git.cli.OperatingSystem
 

Z

zone() - Method in record class io.github.jbastgen.stemma.git.sequence.SequenceEngine.Author
Returns the value of the zone record component.
A C D E F G H I J L M N O P R S T V W Z 
All Classes and Interfaces|All Packages|Constant Field Values