Interface ApiVersionParser<V extends Comparable<V>>

Type Parameters:
V - the parsed object type
All Known Implementing Classes:
SemanticApiVersionParser
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ApiVersionParser<V extends Comparable<V>>
Contract to parse a version into an Object representation.
Since:
7.0
Author:
Rossen Stoyanchev
  • Method Summary

    Modifier and Type
    Method
    Description
    Parse the version into an Object.
  • Method Details

    • parseVersion

      V parseVersion(String version)
      Parse the version into an Object.
      Parameters:
      version - the value to parse
      Returns:
      an Object that represents the version