saker.build Documentation TaskDoc JavaDoc Packages
public static final class ExecutionPathConfiguration.Builder
Builder class for ExecutionPathConfiguration.

The builder is single use, it cannot be reused after calling build().

Methods
public Builder
addAll(ExecutionPathConfiguration sourceconfiguration)
Adds all roots in the argument path configuration to this configuration.
public Builder
Adds all roots of the file provider to this configuration.
public Builder
Adds a file provider for the specified root.
public ExecutionPathConfiguration
public Builder addAll(ExecutionPathConfiguration sourceconfiguration)
Adds all roots in the argument path configuration to this configuration.

This method overwrites any previous roots added with the specified name.

sourceconfigurationThe configuration to copy the roots from.
this
public Builder addAllRoots(SakerFileProvider fileprovider) throws IOException
Adds all roots of the file provider to this configuration.

This method overwrites any previous roots added with the specified name.

fileproviderThe file provider.
this
IOExceptionIn case of I/O error.
Adds a file provider for the specified root.

This method overwrites any previous roots added with the specified name.

rootThe root name.
fileproviderThe file provider to add for the root.
this
InvalidPathFormatExceptionIf the root is not a valid root name.
IllegalArgumentExceptionIf the file provider doesn't have a root with the specified name.
Build the ExecutionPathConfiguration.

The builder is no longer useable if this call succeeds.

The constructed path configuration.
AmbiguousPathConfigurationExceptionIf the created configuration is ambiguous.
IllegalStateExceptionIf the builder was already used.