saker.build Documentation TaskDoc JavaDoc Packages
public interface RepositoryEnvironment
Interface specifying the basic working environment configuration for repositories.

This interface contains the file system locations where the repositories can store their data.

The result of getter methods in this interface are considered to return the same objects, unless otherwise noted.

Methods
public Path
Gets the path to the JAR which was used to load the build system related classes.
public Path
Gets the common storage directory this environment was initialized with.
public Path
Gets the local path to the classes of the repository.
public Path
Gets the local path to the load directory of the classpath.
public Path
Gets the local directory path where the repository can store its runtime data.
public abstract Path getEnvironmentJarPath()
Gets the path to the JAR which was used to load the build system related classes.

For example this JAR can be used to start external processes which require the build system classes on their classpath.

The path to the JAR for the build system.
Gets the common storage directory this environment was initialized with.

The returned directory is a base directory for all environment related data. Any other storage directories are probably but not necessarily under this base directory.

The common storage directory path.
public abstract Path getRepositoryClassPath()
Gets the local path to the classes of the repository.

The returned path points to a file or folder on the local machine where the classes of the repository are located. The classes can be contained in a directory tree with appropriate package directories or in a JAR file.

The classpath of the repository.
Gets the local path to the load directory of the classpath.

The returned path is a directory which was used to load the repository classes to.

The directory target of the classpath loading.
Gets the local directory path where the repository can store its runtime data.

The directory is private to the currently loaded repository classpath. If multiple repositories are contained in a single classpath, then they share the repository storage directory.

The storage directory path.