org.codehaus.mojo.cobertura.tasks
Class CommandLineArguments

java.lang.Object
  extended by org.codehaus.mojo.cobertura.tasks.CommandLineArguments

public class CommandLineArguments
extends Object

CommandLineArguments allows for arbitrarily long command line argument lists.

Author:
Joakim Erdfelt

Constructor Summary
CommandLineArguments()
           
 
Method Summary
 void addArg(String arg)
           
 void addArg(String arg1, String arg2)
           
 List getArgs()
           
 String getCommandsFile()
          Generate the Commands file and return the filename to it.
 Iterator iterator()
           
 void setUseCommandsFile(boolean useCommandsFile)
           
 boolean useCommandsFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineArguments

public CommandLineArguments()
Method Detail

addArg

public void addArg(String arg)

addArg

public void addArg(String arg1,
                   String arg2)

getArgs

public List getArgs()

getCommandsFile

public String getCommandsFile()
                       throws IOException
Generate the Commands file and return the filename to it.

Returns:
the commands filename.
Throws:
IOException

iterator

public Iterator iterator()

setUseCommandsFile

public void setUseCommandsFile(boolean useCommandsFile)
Parameters:
useCommandsFile - The useCommandsFile to set.

useCommandsFile

public boolean useCommandsFile()
Returns:
Returns the useCommandsFile.


Copyright © 2005-2011 Codehaus. All Rights Reserved.