cvs commit: ant/src/main/org/apache/tools/ant/util/facade FacadeTaskHelper.java ImplementationSpecificArgument.java
peterreilly2005/01/21 08:37:51 Modified:src/main/org/apache/tools/ant/util/facade FacadeTaskHelper.java ImplementationSpecificArgument.java Log: javadoc Revision ChangesPath 1.14 +11 -5 ant/src/main/org/apache/tools/ant/util/facade/FacadeTaskHelper.java Index: FacadeTaskHelper.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/facade/FacadeTaskHelper.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- FacadeTaskHelper.java 9 Mar 2004 16:48:54 - 1.13 +++ FacadeTaskHelper.java 21 Jan 2005 16:37:51 - 1.14 @@ -1,5 +1,5 @@ /* - * Copyright 2002-2004 The Apache Software Foundation + * Copyright 2002-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. @@ -62,7 +62,7 @@ /** * @param defaultValue The default value for the implementation. * Must not be null. - * @param magicValue the value of a magic property that may hold a user + * @param magicValue the value of a magic property that may hold a user. * choice. May be null. */ public FacadeTaskHelper(String defaultValue, String magicValue) { @@ -72,6 +72,7 @@ /** * Used to set the value of the magic property. + * @param magicValue the value of a magic property that may hold a user. */ public void setMagicValue(String magicValue) { this.magicValue = magicValue; @@ -79,6 +80,7 @@ /** * Used for explicit user choices. + * @param userChoice the explicitly chosen implementation. */ public void setImplementation(String userChoice) { this.userChoice = userChoice; @@ -86,6 +88,7 @@ /** * Retrieves the implementation. + * @return the implementation. */ public String getImplementation() { return userChoice != null ? userChoice @@ -94,7 +97,8 @@ } /** - * Retrieves the explicit user choice + * Retrieves the explicit user choice. + * @return the explicit user choice. */ public String getExplicitChoice() { return userChoice; @@ -102,6 +106,7 @@ /** * Command line argument. + * @param arg an argument to add. */ public void addImplementationArgument(ImplementationSpecificArgument arg) { args.addElement(arg); @@ -110,6 +115,7 @@ /** * Retrieves the command line arguments enabled for the current * facade implementation. + * @return an array of command line arguements. */ public String[] getArgs() { Vector tmp = new Vector(args.size()); @@ -129,7 +135,7 @@ /** * Tests whether the implementation has been chosen by the user * (either via a magic property or explicitly. - * + * @return true if magic or user choice has be set. * @since Ant 1.5.2 */ public boolean hasBeenSet() { 1.8 +15 -2 ant/src/main/org/apache/tools/ant/util/facade/ImplementationSpecificArgument.java Index: ImplementationSpecificArgument.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/facade/ImplementationSpecificArgument.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ImplementationSpecificArgument.java 9 Mar 2004 16:48:54 - 1.7 +++ ImplementationSpecificArgument.java 21 Jan 2005 16:37:51 - 1.8 @@ -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. @@ -30,14 +30,27 @@ public class ImplementationSpecificArgument extends Commandline.Argument { private String impl; +/** Constructor for ImplementationSpecificArgument. */ public ImplementationSpecificArgument() { super(); } +/** + * Set the implementation this argument is for. + * @param impl the implementation this command line argument is for. + */ public void setImplementation(String impl) { this.impl = impl; } +/** + * Return the parts this Argument consists of, if the + * implementation matches the chosen implementation. + * @see Commandline.Argument#getParts() + * @param chosenImpl the implementation to check against. + * @return the parts if the implemention matches or an zero length
cvs commit: ant/src/main/org/apache/tools/ant/util/facade FacadeTaskHelper.java ImplementationSpecificArgument.java
peterreilly2005/01/21 08:38:37 Modified:src/main/org/apache/tools/ant/util/facade Tag: ANT_16_BRANCH FacadeTaskHelper.java ImplementationSpecificArgument.java Log: javadoc Revision ChangesPath No revision No revision 1.9.2.5 +11 -5 ant/src/main/org/apache/tools/ant/util/facade/FacadeTaskHelper.java Index: FacadeTaskHelper.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/facade/FacadeTaskHelper.java,v retrieving revision 1.9.2.4 retrieving revision 1.9.2.5 diff -u -r1.9.2.4 -r1.9.2.5 --- FacadeTaskHelper.java 9 Mar 2004 17:01:59 - 1.9.2.4 +++ FacadeTaskHelper.java 21 Jan 2005 16:38:37 - 1.9.2.5 @@ -1,5 +1,5 @@ /* - * Copyright 2002-2004 The Apache Software Foundation + * Copyright 2002-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. @@ -62,7 +62,7 @@ /** * @param defaultValue The default value for the implementation. * Must not be null. - * @param magicValue the value of a magic property that may hold a user + * @param magicValue the value of a magic property that may hold a user. * choice. May be null. */ public FacadeTaskHelper(String defaultValue, String magicValue) { @@ -72,6 +72,7 @@ /** * Used to set the value of the magic property. + * @param magicValue the value of a magic property that may hold a user. */ public void setMagicValue(String magicValue) { this.magicValue = magicValue; @@ -79,6 +80,7 @@ /** * Used for explicit user choices. + * @param userChoice the explicitly chosen implementation. */ public void setImplementation(String userChoice) { this.userChoice = userChoice; @@ -86,6 +88,7 @@ /** * Retrieves the implementation. + * @return the implementation. */ public String getImplementation() { return userChoice != null ? userChoice @@ -94,7 +97,8 @@ } /** - * Retrieves the explicit user choice + * Retrieves the explicit user choice. + * @return the explicit user choice. */ public String getExplicitChoice() { return userChoice; @@ -102,6 +106,7 @@ /** * Command line argument. + * @param arg an argument to add. */ public void addImplementationArgument(ImplementationSpecificArgument arg) { args.addElement(arg); @@ -110,6 +115,7 @@ /** * Retrieves the command line arguments enabled for the current * facade implementation. + * @return an array of command line arguements. */ public String[] getArgs() { Vector tmp = new Vector(args.size()); @@ -129,7 +135,7 @@ /** * Tests whether the implementation has been chosen by the user * (either via a magic property or explicitly. - * + * @return true if magic or user choice has be set. * @since Ant 1.5.2 */ public boolean hasBeenSet() { 1.3.2.5 +15 -2 ant/src/main/org/apache/tools/ant/util/facade/ImplementationSpecificArgument.java Index: ImplementationSpecificArgument.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/facade/ImplementationSpecificArgument.java,v retrieving revision 1.3.2.4 retrieving revision 1.3.2.5 diff -u -r1.3.2.4 -r1.3.2.5 --- ImplementationSpecificArgument.java 9 Mar 2004 17:01:59 - 1.3.2.4 +++ ImplementationSpecificArgument.java 21 Jan 2005 16:38:37 - 1.3.2.5 @@ -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. @@ -30,14 +30,27 @@ public class ImplementationSpecificArgument extends Commandline.Argument { private String impl; +/** Constructor for ImplementationSpecificArgument. */ public ImplementationSpecificArgument() { super(); } +/** + * Set the implementation this argument is for. + * @param impl the implementation this command line argument is for. + */ public void setImplementation(String impl) { this.impl = impl; } +/** + * Return the parts this Argument consists of, if the + * implementation matches the chosen implementation. + * @see Commandline.Argument#getParts() + *
cvs commit: ant/src/main/org/apache/tools/ant/util/facade FacadeTaskHelper.java
bodewig 2003/08/14 00:04:41 Modified:src/main/org/apache/tools/ant/taskdefs/cvslib ChangeLogParser.java src/main/org/apache/tools/ant/taskdefs/optional NetRexxC.java src/main/org/apache/tools/ant/taskdefs/optional/j2ee ServerDeploy.java src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers DefaultJspCompilerAdapter.java src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTest.java src/main/org/apache/tools/ant/taskdefs/optional/sitraka XMLReport.java src/main/org/apache/tools/ant/taskdefs/optional/sitraka/bytecode ClassPathLoader.java src/main/org/apache/tools/ant/util Watchdog.java src/main/org/apache/tools/ant/util/facade FacadeTaskHelper.java Log: 2003 Revision ChangesPath 1.21 +2 -2 ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java Index: ChangeLogParser.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ChangeLogParser.java 13 Aug 2003 15:02:28 - 1.20 +++ ChangeLogParser.java 14 Aug 2003 07:04:40 - 1.21 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2002 The Apache Software Foundation. All rights + * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 1.27 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java Index: NetRexxC.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- NetRexxC.java 13 Aug 2003 15:02:28 - 1.26 +++ NetRexxC.java 14 Aug 2003 07:04:40 - 1.27 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2000-2002 The Apache Software Foundation. All rights + * Copyright (c) 2000-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 1.12 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.java Index: ServerDeploy.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- ServerDeploy.java 13 Aug 2003 15:02:28 - 1.11 +++ ServerDeploy.java 14 Aug 2003 07:04:41 - 1.12 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2002 The Apache Software Foundation. All rights + * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 1.11 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/DefaultJspCompilerAdapter.java Index: DefaultJspCompilerAdapter.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/DefaultJspCompilerAdapter.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- DefaultJspCompilerAdapter.java13 Aug 2003 15:02:28 - 1.10 +++ DefaultJspCompilerAdapter.java14 Aug 2003 07:04:41 - 1.11 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2002 The Apache Software Foundation. All rights + * Copyright (c) 2001-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 1.19 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.java Index: JUnitTest.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- JUnitTest.java13 Aug 2003 15:19:34 - 1.18 +++ JUnitTest.java14 Aug 2003 07:04:41 - 1.19 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - *
Re: cvs commit: ant/src/main/org/apache/tools/ant/util/facade FacadeTaskHelper.java
Opps, sorry about the year in the enum update yesterday. Peter. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]