Class Local

    • Constructor Detail

      • Local

        public Local()
    • Method Detail

      • getLocation

        public String getLocation()
        Get the base directory where the local cache is located. Defaults to $\{localRepository}/../cache.
        Returns:
        String
      • getMaxBuildsCached

        public int getMaxBuildsCached()
        Get maximum number of cached build per artifact in local cache. First created cache (the oldest) is evicted if breached.
        Returns:
        int
      • setLocation

        public void setLocation​(String location)
        Set the base directory where the local cache is located. Defaults to $\{localRepository}/../cache.
        Parameters:
        location - a location object.
      • setMaxBuildsCached

        public void setMaxBuildsCached​(int maxBuildsCached)
        Set maximum number of cached build per artifact in local cache. First created cache (the oldest) is evicted if breached.
        Parameters:
        maxBuildsCached - a maxBuildsCached object.