Enum Class BuildMode
- All Implemented Interfaces:
Serializable, Comparable<BuildMode>, Constable
THE four build modes a project's
.ek9/<arch>/ tree is organised by - one folder per mode,
each holding its own <name>.jar/<name>, build.key and (NORMAL/DEBUG only)
build.inputs (plan docs/implementation/EK9_BUILD_OUTPUT_LAYOUT.md §1-§2, extending
I1's original docs/implementation/EK9_P1_I1_PLAN.md §2.1-§2.2). A debug jar, a test/coverage
jar and a normal jar never share a path, so one can never masquerade as another (DI-2).
reusesOutput() is false only for RELEASE: a release build is never "already
in date" (DI-7 / D-B1) - it always rebuilds from scratch.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
DEBUG
-
NORMAL
-
RELEASE
-
TEST
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
folderName
-
reusesOutput
public boolean reusesOutput()
-