Interface MojoMetadataProvider.Context.LocalState
- Enclosing interface:
MojoMetadataProvider.Context
public static interface MojoMetadataProvider.Context.LocalState
Configures local state. Local state files are neither inputs, nor outputs. A typical example would be temporary directories.
They are deleted when the outputs of a goal execution are loaded from the cache.
- Since:
- 1.21
-
Method Summary
Modifier and TypeMethodDescriptionMarks the given property as local state.Marks the given files as a local state property.
-
Method Details
-
files
Marks the given property as local state.- Parameters:
propertyName
- the name of the property to be marked as local state- See Also:
-
files
Marks the given files as a local state property.- Parameters:
propertyName
- the name of the property to be marked as local statevalue
- can be anIterable
, an array or a single object of typeString
,Path
,URI
orFile
. Each element can represent an absolute path or a relative path to a file or directory. If it is a relative path, it will be resolved using the current project's base directory.
-