Class BazaarConfig.VersionConsumer

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

private static class BazaarConfig.VersionConsumer extends BazaarConsumer
Get version of the executable. Version is resolved to the last match of a defined regexp in the command output.
  • Field Details

    • VERSION_PATTERN

      private static final Pattern VERSION_PATTERN
    • versionTag

      private final String versionTag
    • versionStr

      private String versionStr
    • version

      private float version
  • Constructor Details

    • VersionConsumer

      VersionConsumer(String aVersionTag)
  • Method Details