Package nl.pim16aap2.lightkeeper.runtime
Class IdeRuntimePaths
java.lang.Object
nl.pim16aap2.lightkeeper.runtime.IdeRuntimePaths
Canonical path policy for generated IDE test setup state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the discovery metadata document.static final StringName of the IDE test setup directory within the generated state directory.static final StringName of the operating-system lock used for IDE setup and launches.static final StringName of the provenance metadata document stored with a prepared runtime.static final StringName of the generated project-local state directory. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathdiscoveryFile(Path moduleDirectory) Returns the discovery metadata path for a Maven module.static PathideDirectory(Path moduleDirectory) Returns the IDE test setup directory owned by a Maven module.static PathReturns the module-wide runtime lock path.static PathpreparationsDirectory(Path moduleDirectory) Returns the root containing immutable IDE runtime preparations.static PathstateDirectory(Path moduleDirectory) Returns the generated state directory owned by a Maven module.
-
Field Details
-
STATE_DIRECTORY_NAME
Name of the generated project-local state directory.- See Also:
-
IDE_DIRECTORY_NAME
Name of the IDE test setup directory within the generated state directory.- See Also:
-
DISCOVERY_FILE_NAME
Name of the discovery metadata document.- See Also:
-
PROVENANCE_FILE_NAME
Name of the provenance metadata document stored with a prepared runtime.- See Also:
-
LOCK_FILE_NAME
Name of the operating-system lock used for IDE setup and launches.- See Also:
-
-
Method Details
-
stateDirectory
Returns the generated state directory owned by a Maven module.- Parameters:
moduleDirectory- Maven module directory.- Returns:
- The generated state directory.
-
ideDirectory
Returns the IDE test setup directory owned by a Maven module.- Parameters:
moduleDirectory- Maven module directory.- Returns:
- The IDE test setup directory.
-
discoveryFile
Returns the discovery metadata path for a Maven module.- Parameters:
moduleDirectory- Maven module directory.- Returns:
- The discovery metadata path.
-
preparationsDirectory
Returns the root containing immutable IDE runtime preparations.- Parameters:
moduleDirectory- Maven module directory.- Returns:
- The preparations directory.
-
lockFile
Returns the module-wide runtime lock path.- Parameters:
moduleDirectory- Maven module directory.- Returns:
- The lock file path.
-