Class HgUtils.HgBranchnameConsumer

  • All Implemented Interfaces:
    org.codehaus.plexus.util.cli.StreamConsumer
    Enclosing class:
    HgUtils

    private static class HgUtils.HgBranchnameConsumer
    extends HgConsumer
    Get current (working) branch name
    • Field Detail

      • branchName

        private java.lang.String branchName
    • Constructor Detail

      • HgBranchnameConsumer

        HgBranchnameConsumer​(ScmLogger logger)
    • Method Detail

      • getBranchName

        java.lang.String getBranchName()
      • consumeLine

        public void consumeLine​(java.lang.String line)
        Specified by:
        consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer
        Overrides:
        consumeLine in class HgConsumer