|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.plugin.buildmetadata.common.MojoUtils
public final class MojoUtils
Utilities for this Mojo.
Method Summary | |
---|---|
static MojoExecutionException |
createException(Log log, Throwable e, String message) Logs and creates the given exception. |
static String |
toPrettyString(List<?> list) Turns the list to its string representation, removing the starting and trailing brackets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MojoExecutionException createException(Log log, Throwable e, String message)
log
- the logger to use.
e
- the original exception to throw.
message
- the message to log and add to the mojo exception.
public static String toPrettyString(List<?> list)
list
- the list whose string representation is requested.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |