Package org.apache.maven.cling.invoker
Class Utils
java.lang.Object
org.apache.maven.cling.invoker.Utils
Various utilities, mostly to bridge "old" and "new" stuff, like Properties vs Maps, File vs Paths, etc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Interpolator
static Path
findMandatoryRoot
(Path topDirectory) static Path
static Path
getCanonicalPath
(Path path) static UnaryOperator<String>
or
(UnaryOperator<String>... callbacks) static UnaryOperator<String>
prefix
(String prefix, UnaryOperator<String> cb) static String
toMap
(Properties properties) static int
static int
static Properties
toProperties
(Map<String, String> properties)
-
Method Details
-
stripLeadingAndTrailingQuotes
-
getCanonicalPath
-
toMap
-
toProperties
-
createInterpolator
-
prefix
-
or
-
toMavenExecutionRequestLoggingLevel
-
toPlexusLoggingLevel
-
findRoot
-
findMandatoryRoot
-