org.rhq.bundle.ant.type
Class UrlFileType

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.AbstractUrlFileType
                  extended by org.rhq.bundle.ant.type.UrlFileType
All Implemented Interfaces:
Cloneable

public class UrlFileType
extends AbstractUrlFileType

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. This file is located at a remote location specified by a URL.

Author:
Ian Springer, John Mazzitelli

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
UrlFileType()
           
 
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.AbstractUrlFileType
getBaseName, getSource, getUrl, setUrl
 
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

UrlFileType

public UrlFileType()
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.