From 9f2e7800cde90621e775751991da6db4eceea5e3 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Mon, 14 Mar 2005 16:52:40 +0000 Subject: [PATCH] javadoc git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277951 13f79535-47bb-0310-9956-ffa450edef68 --- .../tools/ant/types/FilterSetCollection.java | 14 +++++- .../org/apache/tools/ant/types/Parameter.java | 44 ++++++++++++++++--- 2 files changed, 50 insertions(+), 8 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/FilterSetCollection.java b/src/main/org/apache/tools/ant/types/FilterSetCollection.java index 6b8674709..3e0c955f5 100644 --- a/src/main/org/apache/tools/ant/types/FilterSetCollection.java +++ b/src/main/org/apache/tools/ant/types/FilterSetCollection.java @@ -1,5 +1,5 @@ /* - * Copyright 2001-2002,2004 The Apache Software Foundation + * Copyright 2001-2002,2004-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,14 +39,26 @@ public class FilterSetCollection { private Vector filterSets = new Vector(); + /** + * Constructor for a FilterSetCollection. + */ public FilterSetCollection() { } + /** + * Constructor for a FilterSetCollection. + * @param filterSet a filterset to start the collection with + */ public FilterSetCollection(FilterSet filterSet) { addFilterSet(filterSet); } + /** + * Add a filterset to the collection. + * + * @param filterSet a FilterSet value + */ public void addFilterSet(FilterSet filterSet) { filterSets.addElement(filterSet); } diff --git a/src/main/org/apache/tools/ant/types/Parameter.java b/src/main/org/apache/tools/ant/types/Parameter.java index 60ce685a7..839b8db94 100644 --- a/src/main/org/apache/tools/ant/types/Parameter.java +++ b/src/main/org/apache/tools/ant/types/Parameter.java @@ -1,5 +1,5 @@ /* - * Copyright 2002,2004 The Apache Software Foundation + * Copyright 2002,2004-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,27 +25,57 @@ public final class Parameter { private String type = null; private String value = null; - public final void setName(final String name) { + /** + * Set the name attribute. + * + * @param name a String value + */ + public void setName(final String name) { this.name = name; } - public final void setType(final String type) { + /** + * Set the type attribute. + * + * @param type a String value + */ + public void setType(final String type) { this.type = type; } - public final void setValue(final String value) { + /** + * Set the value attribute. + * + * @param value a String value + */ + public void setValue(final String value) { this.value = value; } - public final String getName() { + /** + * Get the name attribute. + * + * @return a String value + */ + public String getName() { return name; } - public final String getType() { + /** + * Get the type attribute. + * + * @return a String value + */ + public String getType() { return type; } - public final String getValue() { + /** + * Get the value attribute. + * + * @return a String value + */ + public String getValue() { return value; } }