Class RefState


  • public abstract class RefState
    extends Object
    • Constructor Detail

      • RefState

        public RefState()
    • Method Detail

      • create

        public static RefState create​(String ref,
                                      org.eclipse.jgit.lib.ObjectId id)
      • of

        public static RefState of​(org.eclipse.jgit.lib.Ref ref)
      • check

        public static void check​(boolean condition,
                                 String str)
      • ref

        public abstract String ref()
      • id

        public abstract org.eclipse.jgit.lib.ObjectId id()
      • match

        public boolean match​(org.eclipse.jgit.lib.Repository repo)
                      throws IOException
        Throws:
        IOException