org.rhq.bundle.ant.type
Class FileType

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by org.rhq.bundle.ant.type.AbstractBundleType
              extended by org.rhq.bundle.ant.type.AbstractFileType
                  extended by org.rhq.bundle.ant.type.FileType
All Implemented Interfaces:
Cloneable

public class FileType
extends AbstractFileType

A file to be copied during the bundle deployment. If the replace attribute is set to true, any template variables (e.g. @@http.port@@) inside the file will be replaced with the value of the corresponding property.

Author:
Ian Springer

Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
FileType()
           
 
Method Summary
 File getDestinationDir()
           
 File getDestinationFile()
           
 boolean isReplace()
           
 void setDestinationDir(String destinationDir)
           
 void setDestinationFile(String destinationFile)
           
 void setReplace(boolean replace)
           
 
Methods inherited from class org.rhq.bundle.ant.type.AbstractFileType
getName, getSource, init, setName
 
Methods inherited from class org.rhq.bundle.ant.type.AbstractBundleType
buildIncludePatternRegex, getPattern, getProject
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileType

public FileType()
Method Detail

getDestinationDir

public File getDestinationDir()

setDestinationDir

public void setDestinationDir(String destinationDir)

getDestinationFile

public File getDestinationFile()

setDestinationFile

public void setDestinationFile(String destinationFile)

isReplace

public boolean isReplace()

setReplace

public void setReplace(boolean replace)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.