@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return "Bare"; }
},
@Override
public boolean canAmend() { return true; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_normal; }
},
@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_conflicts; }
},
@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_merged; }
},
@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_conflicts; }
},
@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_merged; }
},
@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_conflicts; }
},
@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_merged; }
},
@Override
public boolean canAmend() { return true; }
+ @Override
+ public boolean isRebasing() { return true; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_rebaseOrApplyMailbox; }
},
@Override
public boolean canAmend() { return true; }
+ @Override
+ public boolean isRebasing() { return true; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_rebase; }
},
@Override
public boolean canAmend() { return true; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_applyMailbox; }
},
@Override
public boolean canAmend() { return true; }
+ @Override
+ public boolean isRebasing() { return true; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_rebaseWithMerge; }
},
@Override
public boolean canAmend() { return true; }
+ @Override
+ public boolean isRebasing() { return true; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_rebaseInteractive; }
},
@Override
public boolean canAmend() { return false; }
+ @Override
+ public boolean isRebasing() { return false; }
+
@Override
public String getDescription() { return JGitText.get().repositoryState_bisecting; }
};
*/
public abstract boolean canAmend();
+ /**
+ * @return true if the repository is currently in a rebase
+ * @since 2.4
+ */
+ public abstract boolean isRebasing();
+
/**
* @return a human readable description of the state.
*/