o fixed checkstyle + updated javadoc

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@684240 13f79535-47bb-0310-9956-ffa450edef68
master
Vincent Siveton 2008-08-09 12:15:40 +00:00
parent e84fa8eeaa
commit 65a52813c7
18 changed files with 40 additions and 5 deletions

View File

@ -213,10 +213,10 @@ public abstract class AbstractMojoTaglet
/** /**
* Append a tag * Append a tag
* *
* @param sb * @param sb not null
* @param tag * @param tag not null
* @param tagAttributes * @param tagAttributes not null
* @param tagValue * @param tagValue not null
*/ */
private void appendTag( StringBuffer sb, Tag tag, MutableAttributeSet tagAttributes, String tagValue ) private void appendTag( StringBuffer sb, Tag tag, MutableAttributeSet tagAttributes, String tagValue )
{ {
@ -380,7 +380,8 @@ public abstract class AbstractMojoTaglet
* Splits the provided text into a array, using pipe as the separator. * Splits the provided text into a array, using pipe as the separator.
* *
* @param text not null * @param text not null
* @return a list of parsed Strings or <code>Collections.EMPTY_LIST</code>. By convention, the default value is the first element. * @return a list of parsed Strings or <code>Collections.EMPTY_LIST</code>.
* By convention, the default value is the first element.
*/ */
private static List getOnlyValues( String text ) private static List getOnlyValues( String text )
{ {

View File

@ -56,8 +56,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoAggregatorTypeTaglet public class MojoAggregatorTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.AGGREGATOR; private static final String NAME = JavaMojoAnnotation.AGGREGATOR;
/** The Javadoc text which will be added to the generated page */
protected static final String HEADER = "Aggregates the Maven project and its child modules."; protected static final String HEADER = "Aggregates the Maven project and its child modules.";
/** /**

View File

@ -54,12 +54,14 @@ import com.sun.tools.doclets.Taglet;
public class MojoComponentFieldTaglet public class MojoComponentFieldTaglet
extends AbstractMojoFieldTaglet extends AbstractMojoFieldTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.COMPONENT; private static final String NAME = JavaMojoAnnotation.COMPONENT;
private static final String[] COMPONENTS_NAME = { private static final String[] COMPONENTS_NAME = {
JavaMojoAnnotation.COMPONENT_ROLE, JavaMojoAnnotation.COMPONENT_ROLE,
JavaMojoAnnotation.COMPONENT_ROLEHINT }; JavaMojoAnnotation.COMPONENT_ROLEHINT };
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is a Plexus component defined by"; protected static final String HEADER = "Is a Plexus component defined by";
/** /**

View File

@ -55,8 +55,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoConfiguratorTypeTaglet public class MojoConfiguratorTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.CONFIGURATOR; private static final String NAME = JavaMojoAnnotation.CONFIGURATOR;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is configured to the role hint"; protected static final String HEADER = "Is configured to the role hint";
/** /**

View File

@ -55,6 +55,7 @@ import com.sun.tools.doclets.Taglet;
public class MojoExecuteTypeTaglet public class MojoExecuteTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.EXECUTE; private static final String NAME = JavaMojoAnnotation.EXECUTE;
private static final String[] PARAMETERS_NAME = { private static final String[] PARAMETERS_NAME = {
@ -62,6 +63,7 @@ public class MojoExecuteTypeTaglet
JavaMojoAnnotation.EXECUTE_LIFECYCLE, JavaMojoAnnotation.EXECUTE_LIFECYCLE,
JavaMojoAnnotation.EXECUTE_GOAL }; JavaMojoAnnotation.EXECUTE_GOAL };
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is defined to be executed in"; protected static final String HEADER = "Is defined to be executed in";
/** /**

View File

@ -55,8 +55,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoExecutionStrategyTypeTaglet public class MojoExecutionStrategyTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.EXECUTION_STATEGY; private static final String NAME = JavaMojoAnnotation.EXECUTION_STATEGY;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is executed with the strategy"; protected static final String HEADER = "Is executed with the strategy";
/** /**

View File

@ -55,8 +55,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoGoalTypeTaglet public class MojoGoalTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.GOAL; private static final String NAME = JavaMojoAnnotation.GOAL;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is defined by the goal name"; protected static final String HEADER = "Is defined by the goal name";
/** /**

View File

@ -56,8 +56,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoInheritByDefaultTypeTaglet public class MojoInheritByDefaultTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.INHERIT_BY_DEFAULT; private static final String NAME = JavaMojoAnnotation.INHERIT_BY_DEFAULT;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is this Mojo inherited"; protected static final String HEADER = "Is this Mojo inherited";
/** /**

View File

@ -55,8 +55,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoInstantiationStrategyTypeTaglet public class MojoInstantiationStrategyTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.INSTANTIATION_STRATEGY; private static final String NAME = JavaMojoAnnotation.INSTANTIATION_STRATEGY;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is instantiated with the strategy"; protected static final String HEADER = "Is instantiated with the strategy";
/** /**

View File

@ -55,6 +55,7 @@ import com.sun.tools.doclets.Taglet;
public class MojoParameterFieldTaglet public class MojoParameterFieldTaglet
extends AbstractMojoFieldTaglet extends AbstractMojoFieldTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.PARAMETER; private static final String NAME = JavaMojoAnnotation.PARAMETER;
private static final String[] PARAMETERS_NAME = { private static final String[] PARAMETERS_NAME = {
@ -64,6 +65,7 @@ public class MojoParameterFieldTaglet
JavaMojoAnnotation.PARAMETER_IMPLEMENTATION, JavaMojoAnnotation.PARAMETER_IMPLEMENTATION,
JavaMojoAnnotation.PARAMETER_PROPERTY }; JavaMojoAnnotation.PARAMETER_PROPERTY };
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is defined by"; protected static final String HEADER = "Is defined by";
/** /**

View File

@ -55,8 +55,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoPhaseTypeTaglet public class MojoPhaseTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.PHASE; private static final String NAME = JavaMojoAnnotation.PHASE;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is bound to the specified phase of the standard build lifecycle"; protected static final String HEADER = "Is bound to the specified phase of the standard build lifecycle";
/** /**

View File

@ -59,8 +59,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoReadOnlyFieldTaglet public class MojoReadOnlyFieldTaglet
extends AbstractMojoFieldTaglet extends AbstractMojoFieldTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.READONLY; private static final String NAME = JavaMojoAnnotation.READONLY;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is readonly."; protected static final String HEADER = "Is readonly.";
/** /**

View File

@ -59,8 +59,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoRequiredFieldTaglet public class MojoRequiredFieldTaglet
extends AbstractMojoFieldTaglet extends AbstractMojoFieldTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.REQUIRED; private static final String NAME = JavaMojoAnnotation.REQUIRED;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Is required."; protected static final String HEADER = "Is required.";
/** /**

View File

@ -56,8 +56,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoRequiresDependencyResolutionTypeTaglet public class MojoRequiresDependencyResolutionTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.REQUIRES_DEPENDENCY_RESOLUTION; private static final String NAME = JavaMojoAnnotation.REQUIRES_DEPENDENCY_RESOLUTION;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Requires the dependencies in this specified scope"; protected static final String HEADER = "Requires the dependencies in this specified scope";
/** /**

View File

@ -56,8 +56,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoRequiresDirectInvocationTypeTaglet public class MojoRequiresDirectInvocationTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.REQUIRES_DIRECT_INVOCATION; private static final String NAME = JavaMojoAnnotation.REQUIRES_DIRECT_INVOCATION;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Requires a direct invocation by the user"; protected static final String HEADER = "Requires a direct invocation by the user";
/** /**

View File

@ -56,8 +56,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoRequiresOnLineTypeTaglet public class MojoRequiresOnLineTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.REQUIRES_ONLINE; private static final String NAME = JavaMojoAnnotation.REQUIRES_ONLINE;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Requires to be online to run"; protected static final String HEADER = "Requires to be online to run";
/** /**

View File

@ -56,8 +56,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoRequiresProjectTypeTaglet public class MojoRequiresProjectTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.REQUIRES_PROJECT; private static final String NAME = JavaMojoAnnotation.REQUIRES_PROJECT;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Requires a Maven project to run"; protected static final String HEADER = "Requires a Maven project to run";
/** /**

View File

@ -56,8 +56,10 @@ import com.sun.tools.doclets.Taglet;
public class MojoRequiresReportsTypeTaglet public class MojoRequiresReportsTypeTaglet
extends AbstractMojoTypeTaglet extends AbstractMojoTypeTaglet
{ {
/** The Javadoc annotation */
private static final String NAME = JavaMojoAnnotation.REQUIRES_REPORTS; private static final String NAME = JavaMojoAnnotation.REQUIRES_REPORTS;
/** The Javadoc text which will be added to the generated page. */
protected static final String HEADER = "Requires Maven reports to run"; protected static final String HEADER = "Requires Maven reports to run";
/** /**