| Modifier and Type | Class and Description |
|---|---|
| private static enum | GitCommitDialogViewModel.
What a finished dialog action actually achieved, so the user can be told the truth about it. |
| public static record | |
| private static class | |
| private static record | |
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanProperty | |
| private final StringProperty | |
| private final de. | |
| private final DialogService | |
| private final FileUpdateMonitor | |
| private final GitHandlerRegistry | |
| private final ImportFormatPreferences | |
| private static final Logger | |
| private final StateManager | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | GitCommitDialogViewModel(StateManager stateManager, DialogService dialogService, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry, ImportFormatPreferences importFormatPreferences, FileUpdateMonitor fileUpdateMonitor)
|
| Modifier and Type | Method and Description |
|---|---|
| public BooleanProperty | |
| public void | |
| private void | commitAction(Runnable onSuccess, org.jabref.logic.util.BackgroundTask<GitCommitDialogViewModel.
|
| public void | |
| private org.jabref.logic.util.BackgroundTask | |
| private boolean | |
| private String | |
| public StringProperty | |
| public de. | |
| private void | |
| private org.jabref.logic.util.BackgroundTask | |
| private GitCommitDialogViewModel. | |
| public org.jabref.logic.util.BackgroundTask | |
| private void | |
| private GitCommitDialogViewModel. | |
| private GitCommitDialogViewModel. | |
| private String | |
| private String | |
| private GitCommitDialogViewModel. | |
| private GitCommitDialogViewModel. |
| amend | back to summary |
|---|---|
| private final BooleanProperty amend | |
| commitMessage | back to summary |
|---|---|
| private final StringProperty commitMessage | |
| commitMessageValidator | back to summary |
|---|---|
| private final de. | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| fileUpdateMonitor | back to summary |
|---|---|
| private final FileUpdateMonitor fileUpdateMonitor | |
| gitHandlerRegistry | back to summary |
|---|---|
| private final GitHandlerRegistry gitHandlerRegistry | |
| importFormatPreferences | back to summary |
|---|---|
| private final ImportFormatPreferences importFormatPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| GitCommitDialogViewModel | back to summary |
|---|---|
| public GitCommitDialogViewModel(StateManager stateManager, DialogService dialogService, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry, ImportFormatPreferences importFormatPreferences, FileUpdateMonitor fileUpdateMonitor) | |
| amendProperty | back to summary |
|---|---|
| public BooleanProperty amendProperty() | |
| commit | back to summary |
|---|---|
| public void commit(Runnable onSuccess) | |
| commitAction | back to summary |
|---|---|
| private void commitAction(Runnable onSuccess, org.jabref.logic.util.BackgroundTask<GitCommitDialogViewModel. | |
| commitAndPush | back to summary |
|---|---|
| public void commitAndPush(Runnable onSuccess) | |
| commitAndPushTask | back to summary |
|---|---|
| private org.jabref.logic.util.BackgroundTask | |
| commitCurrent | back to summary |
|---|---|
| private boolean commitCurrent(GitCommitDialogViewModel. | |
| commitMessageOrDefault | back to summary |
|---|---|
| private String commitMessageOrDefault() | |
| commitMessageProperty | back to summary |
|---|---|
| public StringProperty commitMessageProperty() | |
| commitMessageValidation | back to summary |
|---|---|
| public de. | |
| commitOn | back to summary |
|---|---|
| private void commitOn(GitCommitDialogViewModel. | |
| commitTask | back to summary |
|---|---|
| private org.jabref.logic.util.BackgroundTask | |
| computeDiffDatabases | back to summary |
|---|---|
| private GitCommitDialogViewModel. | |
| diffTask | back to summary |
|---|---|
| public org.jabref.logic.util.BackgroundTask | |
| doCommit | back to summary |
|---|---|
| private void doCommit() throws org.jabref.logic.JabRefException, GitAPIException, IOException | |
| doCommitAndPush | back to summary |
|---|---|
| private GitCommitDialogViewModel. | |
| getTrackedBibFile | back to summary |
|---|---|
| private GitCommitDialogViewModel. | |
| localizedFailureMessage | back to summary |
|---|---|
| private String localizedFailureMessage(Throwable throwable) | |
| messageFor | back to summary |
|---|---|
| private String messageFor(GitCommitDialogViewModel. | |
| pushTo | back to summary |
|---|---|
| private GitCommitDialogViewModel. | |
| resolveRepository | back to summary |
|---|---|
| private GitCommitDialogViewModel. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final GitCommitDialogViewModel. | |
| public static final GitCommitDialogViewModel. | |
| public static final GitCommitDialogViewModel. | |
| public static final GitCommitDialogViewModel. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GitCommitDialogViewModel. | |
| public static GitCommitDialogViewModel. |
| COMMITTED | back to summary |
|---|---|
| public static final GitCommitDialogViewModel. | |
| COMMITTED_AND_PUSHED | back to summary |
|---|---|
| public static final GitCommitDialogViewModel. | |
| NOTHING_TO_PUSH | back to summary |
|---|---|
| public static final GitCommitDialogViewModel. | |
| PUSHED | back to summary |
|---|---|
| public static final GitCommitDialogViewModel. | |
| CommitOutcome | back to summary |
|---|---|
| private CommitOutcome() | |
| valueOf | back to summary |
|---|---|
| public static GitCommitDialogViewModel. | |
| values | back to summary |
|---|---|
| public static GitCommitDialogViewModel. | |
| Modifier and Type | Field and Description |
|---|---|
| private final BibDatabaseContext | headDatabase
Record Component accessed by headDatabase(). |
| private final BibDatabaseContext | workingTreeDatabase
Record Component accessed by workingTreeDatabase(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public BibDatabaseContext | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public BibDatabaseContext |
| headDatabase | back to summary |
|---|---|
| private final BibDatabaseContext headDatabase Record Component accessed by headDatabase(). | |
| workingTreeDatabase | back to summary |
|---|---|
| private final BibDatabaseContext workingTreeDatabase Record Component accessed by workingTreeDatabase(). | |
| DiffDatabases | back to summary |
|---|---|
| public DiffDatabases(BibDatabaseContext headDatabase, BibDatabaseContext workingTreeDatabase) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| headDatabase | back to summary |
|---|---|
| public BibDatabaseContext headDatabase() Record Component getter of headDatabase. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| workingTreeDatabase | back to summary |
|---|---|
| public BibDatabaseContext workingTreeDatabase() Record Component getter of workingTreeDatabase. | |
| Access | Constructor and Description |
|---|---|
| pack-priv | PushFailedException(Throwable cause, boolean committedNow)
Claiming "the commit was saved" is only honest when this attempt actually created one: the push may also fail with nothing newly committed (e.g. retrying after a failed push). |
| Modifier and Type | Method and Description |
|---|---|
| private static String |
| PushFailedException | back to summary |
|---|---|
| pack-priv PushFailedException(Throwable cause, boolean committedNow) Claiming "the commit was saved" is only honest when this attempt actually created one: the push may also fail with nothing newly committed (e.g. retrying after a failed push). | |
| causeMessage | back to summary |
|---|---|
| private static String causeMessage(Throwable cause) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Path | bibFilePath
Record Component accessed by bibFilePath(). |
| private final BibDatabaseContext | database
Record Component accessed by database(). |
| private final GitHandler | gitHandler
Record Component accessed by gitHandler(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Path | |
| public BibDatabaseContext | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public GitHandler | |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| bibFilePath | back to summary |
|---|---|
| private final Path bibFilePath Record Component accessed by bibFilePath(). | |
| database | back to summary |
|---|---|
| private final BibDatabaseContext database Record Component accessed by database(). | |
| gitHandler | back to summary |
|---|---|
| private final GitHandler gitHandler Record Component accessed by gitHandler(). | |
| ResolvedRepository | back to summary |
|---|---|
| private ResolvedRepository(BibDatabaseContext database, Path bibFilePath, GitHandler gitHandler) | |
| bibFilePath | back to summary |
|---|---|
| public Path bibFilePath() Record Component getter of bibFilePath. | |
| database | back to summary |
|---|---|
| public BibDatabaseContext database() Record Component getter of database. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| gitHandler | back to summary |
|---|---|
| public GitHandler gitHandler() Record Component getter of gitHandler. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Path | bibFilePath
Record Component accessed by bibFilePath(). |
| private final GitHandler | gitHandler
Record Component accessed by gitHandler(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Path | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public GitHandler | |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| bibFilePath | back to summary |
|---|---|
| private final Path bibFilePath Record Component accessed by bibFilePath(). | |
| gitHandler | back to summary |
|---|---|
| private final GitHandler gitHandler Record Component accessed by gitHandler(). | |
| TrackedFile | back to summary |
|---|---|
| private TrackedFile(GitHandler gitHandler, Path bibFilePath) | |
| bibFilePath | back to summary |
|---|---|
| public Path bibFilePath() Record Component getter of bibFilePath. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| gitHandler | back to summary |
|---|---|
| public GitHandler gitHandler() Record Component getter of gitHandler. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |