public final class Utilities extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Utilities.CharsetAndRemainder
A utility to extract a "[CHARSET]" from the beginning of a string.
|
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
getPattern(org.apache.maven.model.ActivationProperty property,
org.apache.maven.model.building.ModelProblemCollector problems)
Get a regex pattern from the property value.
|
static Pattern |
getPattern(org.apache.maven.model.ActivationProperty property,
org.apache.maven.model.building.ModelProblemCollector problems,
int flags)
Get a regex pattern from the property value.
|
static boolean |
problem(org.apache.maven.model.building.ModelProblemCollector problems,
org.apache.maven.model.ActivationProperty property,
String message)
Register a problem with the collector of problems.
|
static List<String> |
tokenize(String commandString)
Tokenize a command string into command arguments, accounting for quotes and spaces.
|
public static Pattern getPattern(org.apache.maven.model.ActivationProperty property, org.apache.maven.model.building.ModelProblemCollector problems)
property - The propertyproblems - A collector of problemsnull if problems were added to the collector.public static Pattern getPattern(org.apache.maven.model.ActivationProperty property, org.apache.maven.model.building.ModelProblemCollector problems, int flags)
property - The propertyproblems - A collector of problemsflags - Bitwise regular expression compilation flags, see Patternnull if problems were added to the collector.public static List<String> tokenize(String commandString)
commandString - The command stringpublic static boolean problem(org.apache.maven.model.building.ModelProblemCollector problems,
org.apache.maven.model.ActivationProperty property,
String message)
problems - A collector of problemsproperty - The propertymessage - The messagefalseCopyright © 2023 OddSource Code. All rights reserved.