Package org.revapi

Interface Archive.Versioned

  • All Superinterfaces:
    Archive
    Enclosing interface:
    Archive

    public static interface Archive.Versioned
    extends Archive
    Extension of the archive interface that can also provide the version of the archive. This can be used by certain extensions like the SemverIgnoreTransform.

    Note that it is the responsibility of the caller of Revapi to provide archives which implement this interface.

    Since:
    0.4.1
    • Method Detail

      • getVersion

        String getVersion()
      • getBaseName

        String getBaseName()
        Returns:
        the name of the archive without the version (if Archive.getName() contains the version in the name).