org.rhq.bundle.ant.type
Class AbstractBundleType

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
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AbstractFileType, AbstractUrlFileType, DeploymentUnitType, FileSet, IgnoreType, InputPropertyType, ReplaceType, SystemServiceType

public abstract class AbstractBundleType
extends org.apache.tools.ant.types.DataType


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
AbstractBundleType()
           
 
Method Summary
protected static void buildIncludePatternRegex(String includePattern, StringBuilder regex)
          Builds a regex expression for a single include pattern.
protected static Pattern getPattern(List<FileSet> fileSets)
           
 BundleAntProject 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

AbstractBundleType

public AbstractBundleType()
Method Detail

getProject

public BundleAntProject getProject()
Overrides:
getProject in class org.apache.tools.ant.ProjectComponent

getPattern

protected static Pattern getPattern(List<FileSet> fileSets)

buildIncludePatternRegex

protected static void buildIncludePatternRegex(String includePattern,
                                               StringBuilder regex)
Builds a regex expression for a single include pattern.

Parameters:
includePattern - the single include pattern to build a regex for
regex - appends all regex characters to this regex string


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