saker.build Documentation TaskDoc JavaDoc Packages
public interface ExecutionDirectoryPathContext
Container providing acces to the base directory paths used during build execution.
Methods
public SakerPath
Gets the absolute path to the base build directory for the build execution.
public SakerPath
Gets the absolute path to the base execution working directory.
public NavigableSet<String>
Gets the names of the root directories for the build execution.
Gets the absolute path to the base build directory for the build execution.

The execution directory path is the same as it was configured by the user at the start of the build execution. It may be null, if no build directory was specified.

Generally, task implementations should use the task build directory instead.

The absolute build directory path or null if not configured.
Gets the absolute path to the base execution working directory.

The working directory is the same as it was configured by the user at the start of the build execution. Generally, it is recommended for task implementations to use the task working directory instead.

The execution working directory.
Gets the names of the root directories for the build execution.

The names of the root directories are specified by the user at the start of the build execution. These root names should be used to resolve execution paths during the build.

An immutable set of root directory names.