org.ow2.jonas.ant
Class JPropertyDeprecated

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.ant.AbstractAntDeprecated
              extended by org.ow2.jonas.ant.JPropertyDeprecated
All Implemented Interfaces:
java.lang.Cloneable

public class JPropertyDeprecated
extends AbstractAntDeprecated

Class only used for compatibility with previous version of JOnAS

Author:
Jeremy Cazaux

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.AbstractAntDeprecated
logger
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
JPropertyDeprecated()
           
 
Method Summary
 void setDefaultValue(java.lang.String defaultValue)
          The default value if the property cannot be found.
 void setName(java.lang.String name)
          The name of the property to set
 void setValue(java.lang.String value)
          The value of the property to set.
 
Methods inherited from class org.ow2.jonas.ant.AbstractAntDeprecated
deprecated
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPropertyDeprecated

public JPropertyDeprecated()
Method Detail

setValue

public void setValue(java.lang.String value)
              throws java.lang.Exception
The value of the property to set.

Parameters:
value - value to set
Throws:
java.lang.Exception

setName

public void setName(java.lang.String name)
             throws java.lang.Exception
The name of the property to set

Parameters:
name - name to set
Throws:
java.lang.Exception

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
                     throws java.lang.Exception
The default value if the property cannot be found.

Parameters:
defaultValue - value to set
Throws:
java.lang.Exception


Copyright © 2012 OW2 Consortium. All Rights Reserved.