Class CacheVersion


  • public final class CacheVersion
    extends Object
    Version of the cache. The version consists of two main components: 1) Base, which is maven-style version string 2) Hash string, containing git hash. The two parts define the cacheable location by method path(). If base is empty or contains '0.0.0' or 'SNAPSHOT' (see NOT_CACHEABLE versions) the version is considered non-cacheable.
    Since:
    0.30
    • Constructor Detail

      • CacheVersion

        public CacheVersion​(String ver,
                            String hsh)
        Ctor.
        Parameters:
        ver - Version of the eo-maven-plugin which currently builds a program.
        hsh - Hash of the objectionary tag.