Interface SelectorContainer
- All Known Implementing Classes:
- AbstractFileSet,- AbstractSelectorContainer,- AndSelector,- ArchiveFileSet,- BaseSelectorContainer,- BCFileSet,- Cab,- Checksum,- ClassfileSet,- Copydir,- Delete,- Depend,- DependSet,- DirSet,- Ear,- EjbJar,- Files,- FileSet,- FixCRLF,- Image,- ImageIOTask,- IsFileSelected,- Jar,- Javac,- Javadoc.TagArgument,- JlinkTask,- JspC,- LibFileSet,- MajoritySelector,- MatchingTask,- MultiRootFileSet,- Native2Ascii,- NetRexxC,- NoneSelector,- NotSelector,- OrSelector,- RenameExtensions,- Replace,- Rmic,- SelectSelector,- Sync.SyncTarget,- Tar,- Tar.TarFileSet,- TarFileSet,- Translate,- War,- WLJspc,- XSLTProcess,- Zip,- ZipFileSet
public interface SelectorContainer
This is the interface for selectors that can contain other selectors.
- Since:
- 1.5
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(FileSelector selector) add an arbitrary selectorvoidaddAnd(AndSelector selector) add an "And" selector entry on the selector listvoidaddContains(ContainsSelector selector) add a contains selector entry on the selector listvoidaddContainsRegexp(ContainsRegexpSelector selector) add a regular expression selector entry on the selector listvoidaddCustom(ExtendSelector selector) add an extended selector entry on the selector listvoidaddDate(DateSelector selector) add a selector date entry on the selector listvoidaddDepend(DependSelector selector) add a depends selector entry on the selector listvoidaddDepth(DepthSelector selector) add a depth selector entry on the selector listvoidaddDifferent(DifferentSelector selector) add the different selectorvoidaddFilename(FilenameSelector selector) add a selector filename entry on the selector listvoidaddMajority(MajoritySelector selector) add a majority selector entry on the selector listvoidaddModified(ModifiedSelector selector) add the modified selectorvoidaddNone(NoneSelector selector) add a "None" selector entry on the selector listvoidaddNot(NotSelector selector) add a "Not" selector entry on the selector listvoidaddOr(OrSelector selector) add an "Or" selector entry on the selector listvoidaddPresent(PresentSelector selector) add a present selector entry on the selector listvoidaddSelector(SelectSelector selector) add a "Select" selector entry on the selector listvoidaddSize(SizeSelector selector) add a selector size entry on the selector listvoidaddType(TypeSelector selector) add the type selectorvoidappendSelector(FileSelector selector) Add a new selector into this container.Returns the set of selectors as an array.booleanIndicates whether there are any selectors here.intGives the count of the number of selectors in this containerReturns an enumerator for accessing the set of selectors.
- 
Method Details- 
hasSelectorsboolean hasSelectors()Indicates whether there are any selectors here.- Returns:
- whether any selectors are in this container
 
- 
selectorCountint selectorCount()Gives the count of the number of selectors in this container- Returns:
- the number of selectors in this container
 
- 
getSelectorsReturns the set of selectors as an array.- Parameters:
- p- the current project
- Returns:
- an array of selectors in this container
 
- 
selectorElementsEnumeration<FileSelector> selectorElements()Returns an enumerator for accessing the set of selectors.- Returns:
- an enumerator that goes through each of the selectors
 
- 
appendSelectorAdd a new selector into this container.- Parameters:
- selector- the new selector to add
 
- 
addSelectoradd a "Select" selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addAndadd an "And" selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addOradd an "Or" selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addNotadd a "Not" selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addNoneadd a "None" selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addMajorityadd a majority selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addDateadd a selector date entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addSizeadd a selector size entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addFilenameadd a selector filename entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addCustomadd an extended selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addContainsadd a contains selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addPresentadd a present selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addDepthadd a depth selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addDependadd a depends selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addContainsRegexpadd a regular expression selector entry on the selector list- Parameters:
- selector- the selector to add
 
- 
addTypeadd the type selector- Parameters:
- selector- the selector to add
- Since:
- ant 1.6
 
- 
addDifferentadd the different selector- Parameters:
- selector- the selector to add
- Since:
- ant 1.6
 
- 
addModifiedadd the modified selector- Parameters:
- selector- the selector to add
- Since:
- ant 1.6
 
- 
addadd an arbitrary selector- Parameters:
- selector- the selector to add
- Since:
- Ant 1.6
 
 
-