public class ModelProblemUtils extends Object
Constructor and Description |
---|
ModelProblemUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatLocation(ModelProblem problem,
String projectId)
Creates a string with all location details for the specified model problem.
|
public static String formatLocation(ModelProblem problem, String projectId)
problem
- The problem whose location should be formatted, must not be null
.projectId
- The <groupId>:<artifactId>:<version>
of the corresponding project, may be null
to force output of model id and source.null
.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.