Class JavaPathType.Modular
java.lang.Object
org.apache.maven.api.JavaPathType.Modular
- All Implemented Interfaces:
PathType
- Enclosing class:
JavaPathType
-
Field Summary
Fields inherited from interface org.apache.maven.api.PathType
UNRESOLVED
-
Method Summary
Modifier and TypeMethodDescriptionid()
Returns the name of the tool option for this path, including the module name.Returns the name of the module for which a path is specifiedname()
Returns the name of the tool option for this path, not including the module name.option()
Returns the name of the tool option for this path.String[]
Returns the option followed by a string representation of the given path elements.rawType()
Returns the type of path without indication about the target module.toString()
Returns the programmatic name of this path type, including the module to patch.
-
Method Details
-
rawType
Returns the type of path without indication about the target module. This is usuallyJavaPathType.PATCH_MODULE
.- Returns:
- type of path without indication about the target module
-
id
-
name
-
moduleName
-
option
-
option
Returns the option followed by a string representation of the given path elements. The path elements are separated by an option-specific or platform-specific separator. If the givenpaths
argument contains no element, then this method returns an empty string. -
toString
Returns the programmatic name of this path type, including the module to patch. For example, if this type was created byJavaPathType.patchModule("foo.bar")
, then this method returns"PathType[PATCH_MODULE:foo.bar]")
.
-