Interface IGitBoundProjectState


  • public interface IGitBoundProjectState
    Project state in terms of associated Git repository.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.jgit.lib.ObjectId getHead()
      Gets the associated repository head.
      Set<org.eclipse.jgit.lib.Ref> getRefs()
      Gets a set of refs pointing to the associated repository head.
      boolean isConsistent()
      Checks weather the associated repository state is consistent, i.e.
    • Method Detail

      • getHead

        org.eclipse.jgit.lib.ObjectId getHead()
        Gets the associated repository head.
        Returns:
        the head ObjectId, never null
      • getRefs

        Set<org.eclipse.jgit.lib.Ref> getRefs()
        Gets a set of refs pointing to the associated repository head.
        Returns:
        the set of refs, never null
      • isConsistent

        boolean 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:
        true if the repository state is consistent and false otherwise