Package io.openapiprocessor.api.v2
Interface OpenApiProcessorVersion
-
public interface OpenApiProcessorVersionInterface to provide (optional) version information of a processor. This must be implemented by the same class that implementsOpenApiProcessor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersiongetLatestVersion()The latest available version of this openapi-processor.java.lang.StringgetVersion()The version of this openapi-processor.booleanhasNewerVersion()checks if there is newer version of this processor.
-
-
-
Method Detail
-
getVersion
java.lang.String getVersion()
The version of this openapi-processor. E.g. 2023.1- Returns:
- the version of this processor
-
getLatestVersion
Version getLatestVersion()
The latest available version of this openapi-processor.- Returns:
- the latest version of this processor
-
hasNewerVersion
boolean hasNewerVersion()
checks if there is newer version of this processor.- Returns:
- true if there is a newer version, else false
-
-