Interface VersionParser<T extends Version<T>>

Type Parameters:
T - The representation that this parser produces.
All Known Implementing Classes:
SemanticVersionParser

public interface VersionParser<T extends Version<T>>
A parser for a version scheme.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull T
    parse(String version)
    Parse the given version string.
  • Method Details

    • parse

      @NonNull T parse(String version)
      Parse the given version string.
      Parameters:
      version - The string to parse.
      Returns:
      The parsed version representation.
      Throws:
      IllegalArgumentException - If the version number is not supported.