UP_TO_DATE, DIVERGED, etc.)
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanProperty | |
| private final GitHandlerRegistry | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final StringProperty | |
| private final StateManager | |
| private final ObjectProperty | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | GitStatusViewModel(StateManager stateManager, TaskExecutor taskExecutor, GitHandlerRegistry handlerRegistry)
|
| Modifier and Type | Method and Description |
|---|---|
| public BooleanProperty | |
| public Optional | |
| public static GitStatusViewModel | fromPathAndContext(StateManager stateManager, TaskExecutor taskExecutor, GitHandlerRegistry handlerRegistry, Path path)
|
| public String | |
| public SyncStatus | |
| public BooleanProperty | |
| public boolean | |
| public boolean | |
| public BooleanProperty | |
| public StringProperty | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public ObjectProperty | |
| public void | |
| protected void |
| conflictDetected | back to summary |
|---|---|
| private final BooleanProperty conflictDetected | |
| handlerRegistry | back to summary |
|---|---|
| private final GitHandlerRegistry handlerRegistry | |
| hasRemoteConfigured | back to summary |
|---|---|
| private final BooleanProperty hasRemoteConfigured | |
| isTracking | back to summary |
|---|---|
| private final BooleanProperty isTracking | |
| lastPulledCommit | back to summary |
|---|---|
| private final StringProperty lastPulledCommit | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| syncStatus | back to summary |
|---|---|
| private final ObjectProperty<SyncStatus> syncStatus | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| GitStatusViewModel | back to summary |
|---|---|
| public GitStatusViewModel(StateManager stateManager, TaskExecutor taskExecutor, GitHandlerRegistry handlerRegistry) | |
| conflictDetectedProperty | back to summary |
|---|---|
| public BooleanProperty conflictDetectedProperty() | |
| currentBibPath | back to summary |
|---|---|
| public Optional | |
| fromPathAndContext | back to summary |
|---|---|
| public static GitStatusViewModel fromPathAndContext(StateManager stateManager, TaskExecutor taskExecutor, GitHandlerRegistry handlerRegistry, Path path) | |
| getLastPulledCommit | back to summary |
|---|---|
| public String getLastPulledCommit() | |
| getSyncStatus | back to summary |
|---|---|
| public SyncStatus getSyncStatus() | |
| hasRemoteConfiguredProperty | back to summary |
|---|---|
| public BooleanProperty hasRemoteConfiguredProperty() | |
| isConflictDetected | back to summary |
|---|---|
| public boolean isConflictDetected() | |
| isTracking | back to summary |
|---|---|
| public boolean isTracking() | |
| isTrackingProperty | back to summary |
|---|---|
| public BooleanProperty isTrackingProperty() | |
| lastPulledCommitProperty | back to summary |
|---|---|
| public StringProperty lastPulledCommitProperty() | |
| refresh | back to summary |
|---|---|
| public void refresh(Path path) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| setConflictDetected | back to summary |
|---|---|
| public void setConflictDetected(boolean conflict) | |
| setLastPulledCommit | back to summary |
|---|---|
| public void setLastPulledCommit(String commitHash) | |
| setSyncStatus | back to summary |
|---|---|
| public void setSyncStatus(SyncStatus status) | |
| setTracking | back to summary |
|---|---|
| public void setTracking(boolean tracking) | |
| syncStatusProperty | back to summary |
|---|---|
| public ObjectProperty | |
| updateRemoteStatus | back to summary |
|---|---|
| public void updateRemoteStatus(Path databasePath) | |
| updateStatusFromContext | back to summary |
|---|---|
| protected void updateStatusFromContext(BibDatabaseContext context) | |