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 Detail

      • VERSION_PATTERN

        private static final java.util.regex.Pattern VERSION_PATTERN
      • versionTag

        private final java.lang.String versionTag
      • versionStr

        private java.lang.String versionStr
      • version

        private float version
    • Constructor Detail

      • VersionConsumer

        VersionConsumer​(java.lang.String aVersionTag)
    • Method Detail

      • getVersion

        java.lang.String getVersion()
      • isVersionOk

        boolean isVersionOk​(float min)