Interface IGitBoundProjectState
public interface IGitBoundProjectState
Project state in terms of associated Git repository.
- 
Method SummaryModifier and TypeMethodDescriptionorg.eclipse.jgit.lib.ObjectIdgetHead()Gets the associated repository head.Set<org.eclipse.jgit.lib.Ref>getRefs()Gets a set of refs pointing to the associated repository head.booleanChecks weather the associated repository state is consistent, i.e. the repository is not bare and no Git operation is waiting for user action.
- 
Method Details- 
getHeadorg.eclipse.jgit.lib.ObjectId getHead()Gets the associated repository head.- Returns:
- the head ObjectId, nevernull
 
- 
getRefsSet<org.eclipse.jgit.lib.Ref> getRefs()Gets a set of refs pointing to the associated repository head.- Returns:
- the set of refs, never null
 
- 
isConsistentboolean isConsistent()Checks weather the associated repository state is consistent, i.e. the repository is not bare and no Git operation is waiting for user action.- Returns:
- trueif the repository state is consistent and- falseotherwise
 
 
-