public abstract class AbstractKeyToolMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
AbstractKeyToolMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getMessage(String key)
Gets a message for a given key from the resource bundle backing the implementation.
|
protected String |
getMessage(String key,
Object arg)
Gets a message for a given key and the given parameter from the resource bundle backing the implementation.
|
protected String |
getMessage(String key,
Object arg1,
Object arg2)
Gets a message for a given key and the given parameters from the resource bundle backing the implementation.
|
boolean |
isSkip() |
boolean |
isVerbose() |
void |
setSkip(boolean skip) |
void |
setVerbose(boolean verbose) |
getLog, getPluginContext, setLog, setPluginContextpublic final boolean isSkip()
skip flagpublic final void setSkip(boolean skip)
skip - the skip flag value to set.public final boolean isVerbose()
verbose flagpublic final void setVerbose(boolean verbose)
verbose - the verbose flag value to set.protected String getMessage(String key)
key - The key of the message to return.key from the resource bundle backing the implementation.protected String getMessage(String key, Object arg)
key - The key of the message to return.arg - argument of the sentence to translatekey from the resource bundle backing the implementation.protected String getMessage(String key, Object arg1, Object arg2)
key - The key of the message to return.arg1 - first argument of the sentence to translatearg2 - second argument of the sentence to translatekey from the resource bundle backing the implementation.Copyright © 2005–2024 MojoHaus. All rights reserved.