public enum RepositoryState extends Enum<RepositoryState>
| Enum Constant and Description | 
|---|
APPLY
An unfinished apply. 
 | 
BARE
Has no work tree and cannot be used for normal editing. 
 | 
BISECTING
Bisecting being done. 
 | 
CHERRY_PICKING
An unfinished cherry-pick. 
 | 
CHERRY_PICKING_RESOLVED
A cherry-pick where all conflicts have been resolved. 
 | 
MERGING
An unfinished merge. 
 | 
MERGING_RESOLVED
An merge where all conflicts have been resolved. 
 | 
REBASING
An unfinished rebase or am. 
 | 
REBASING_INTERACTIVE
An unfinished interactive rebase. 
 | 
REBASING_MERGE
An unfinished rebase with merge. 
 | 
REBASING_REBASING
An unfinished rebase. 
 | 
REVERTING
An unfinished revert. 
 | 
REVERTING_RESOLVED
A revert where all conflicts have been resolved. 
 | 
SAFE
A safe state for working normally 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract boolean | 
canAmend()  | 
abstract boolean | 
canCheckout()
Whether checkout can be done. 
 | 
abstract boolean | 
canCommit()  | 
abstract boolean | 
canResetHead()  | 
abstract String | 
getDescription()  | 
abstract boolean | 
isRebasing()  | 
static RepositoryState | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RepositoryState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final RepositoryState BARE
public static final RepositoryState SAFE
public static final RepositoryState MERGING
public static final RepositoryState MERGING_RESOLVED
public static final RepositoryState CHERRY_PICKING
public static final RepositoryState CHERRY_PICKING_RESOLVED
public static final RepositoryState REVERTING
public static final RepositoryState REVERTING_RESOLVED
public static final RepositoryState REBASING
public static final RepositoryState REBASING_REBASING
public static final RepositoryState APPLY
public static final RepositoryState REBASING_MERGE
public static final RepositoryState REBASING_INTERACTIVE
public static final RepositoryState BISECTING
public static RepositoryState[] values()
for (RepositoryState c : RepositoryState.values()) System.out.println(c);
public static RepositoryState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract boolean canCheckout()
public abstract boolean canCommit()
public abstract boolean canResetHead()
public abstract boolean canAmend()
public abstract boolean isRebasing()
public abstract String getDescription()
Copyright © 2020 Eclipse JGit Project. All rights reserved.