org.apache.maven.scm
Class CommandParameters

java.lang.Object
  extended byorg.apache.maven.scm.CommandParameters

public class CommandParameters
extends java.lang.Object

Version:
$Id: CommandParameters.java 372209 2006-01-25 13:30:01Z evenisse $
Author:
Trygve Laugstøl

Constructor Summary
CommandParameters()
           
 
Method Summary
 boolean getBoolean(CommandParameter parameter)
           
 java.util.Date getDate(CommandParameter parameter)
           
 java.util.Date getDate(CommandParameter parameter, java.util.Date defaultValue)
           
 java.io.File[] getFileArray(CommandParameter parameter)
           
 java.io.File[] getFileArray(CommandParameter parameter, java.io.File[] defaultValue)
           
 int getInt(CommandParameter parameter)
           
 int getInt(CommandParameter parameter, int defaultValue)
           
 java.lang.String getString(CommandParameter parameter)
           
 java.lang.String getString(CommandParameter parameter, java.lang.String defaultValue)
           
 void setDate(CommandParameter parameter, java.util.Date date)
           
 void setInt(CommandParameter parameter, int value)
           
 void setString(CommandParameter parameter, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandParameters

public CommandParameters()
Method Detail

getString

public java.lang.String getString(CommandParameter parameter)
                           throws ScmException
Throws:
ScmException

getString

public java.lang.String getString(CommandParameter parameter,
                                  java.lang.String defaultValue)
                           throws ScmException
Throws:
ScmException

setString

public void setString(CommandParameter parameter,
                      java.lang.String value)
               throws ScmException
Throws:
ScmException

getInt

public int getInt(CommandParameter parameter)
           throws ScmException
Throws:
ScmException

getInt

public int getInt(CommandParameter parameter,
                  int defaultValue)
           throws ScmException
Throws:
ScmException

setInt

public void setInt(CommandParameter parameter,
                   int value)
            throws ScmException
Throws:
ScmException

getDate

public java.util.Date getDate(CommandParameter parameter)
                       throws ScmException
Throws:
ScmException

getDate

public java.util.Date getDate(CommandParameter parameter,
                              java.util.Date defaultValue)
                       throws ScmException
Throws:
ScmException

setDate

public void setDate(CommandParameter parameter,
                    java.util.Date date)
             throws ScmException
Throws:
ScmException

getBoolean

public boolean getBoolean(CommandParameter parameter)
                   throws ScmException
Throws:
ScmException

getFileArray

public java.io.File[] getFileArray(CommandParameter parameter)
                            throws ScmException
Throws:
ScmException

getFileArray

public java.io.File[] getFileArray(CommandParameter parameter,
                                   java.io.File[] defaultValue)
                            throws ScmException
Throws:
ScmException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.