Jacson

de.spieleck.app.jacson.ant
Class JacsonTaskParam

java.lang.Object
  extended byde.spieleck.app.jacson.ant.JacsonTaskParam

public class JacsonTaskParam
extends java.lang.Object

Another name/value pair encapsulation.

This time for the JacsonTask parameters.

XXX Make the JacsonSource configurable, currently it is LineChunkSource.

Author:
fsn

Constructor Summary
JacsonTaskParam()
           
 
Method Summary
 java.lang.String getExpression()
          Get the parameter value
 java.lang.String getName()
          Get the parameter name
 void setName(java.lang.String name)
          Set the parameter name.
 void setValue(java.lang.String value)
          The value for the parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JacsonTaskParam

public JacsonTaskParam()
Method Detail

setName

public void setName(java.lang.String name)
Set the parameter name.

Parameters:
name - the name of the parameter.

setValue

public void setValue(java.lang.String value)
The value for the parameter

Parameters:
value - the value representing the parameter's value.

getName

public java.lang.String getName()
                         throws BuildException
Get the parameter name

Returns:
the parameter name
Throws:
BuildException - if the name is not set.

getExpression

public java.lang.String getExpression()
                               throws BuildException
Get the parameter value

Returns:
the parameter value
Throws:
BuildException - if the value is not set.

Spieleck

Copyleft 2002 spieleck.de.