public abstract class AbstractMojoTaglet extends Object implements com.sun.tools.doclets.Taglet
Taglet
for Maven Mojo annotations.
@annotation <annotationValue> <parameterName="parameterValue">
Constructor and Description |
---|
AbstractMojoTaglet() |
Modifier and Type | Method and Description |
---|---|
abstract String[] |
getAllowedParameterNames() |
abstract String |
getAllowedValue() |
abstract String |
getHeader() |
boolean |
hasAnnotationParameters() |
boolean |
hasAnnotationValue() |
String |
toString(com.sun.javadoc.Tag tag) |
String |
toString(com.sun.javadoc.Tag[] tags) |
public AbstractMojoTaglet()
public String toString(com.sun.javadoc.Tag tag)
toString
in interface com.sun.tools.doclets.Taglet
public String toString(com.sun.javadoc.Tag[] tags)
toString
in interface com.sun.tools.doclets.Taglet
public abstract String getAllowedValue()
null
if the given Mojo annotation/tag does't allow
annotation value.
*
for every values, a|b|c
for a OR b OR c
.public abstract String[] getAllowedParameterNames()
null
if the annotation/tag doesn't allow parameter.public boolean hasAnnotationValue()
true
if taglet has annotation value, false
otherwise.getAllowedValue()
public boolean hasAnnotationParameters()
true
if taglet has parameters, false
otherwise.getAllowedParameterNames()
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.