Package enterprises.iwakura.amber
Class BootstrapOptions
java.lang.Object
enterprises.iwakura.amber.BootstrapOptions
Options for Amber's bootstrap process. Holds various settings that control how dependencies are downloaded and validated.
There are some default options:
- Temporary Directory: System's default temporary directory (System property
java.io.tmpdir) - Validate Checksums:
true - Fail on Invalid Checksum:
true - Force Redownload:
false - Fail on Missing Dependency:
true - Exit Code After Download:
null(no exit) - Library Directory Override:
null(use manifest's directory)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPrefferedLibraryDirectory(AmberManifest manifest) Get the preferred library directory, using the override if set, otherwise falling back to the manifest's directory.
-
Constructor Details
-
BootstrapOptions
public BootstrapOptions()
-
-
Method Details
-
getPrefferedLibraryDirectory
Get the preferred library directory, using the override if set, otherwise falling back to the manifest's directory.- Parameters:
manifest- The Amber manifest to get the directory from if no override is set.- Returns:
- The preferred library directory.
-