org.momeunit.ant.taskdefs
Class LibJar

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by org.apache.tools.ant.types.AbstractFileSet
              extended by org.apache.tools.ant.types.FileSet
                  extended by org.apache.tools.ant.types.ZipFileSet
                      extended by org.momeunit.ant.taskdefs.LibJar
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class LibJar
extends org.apache.tools.ant.types.ZipFileSet

MoMEUnit nested tag intended to specify files of external library to be included in resulting test J2ME application. Extends ZipFileSet. Adds if/unless functionality.

Version:
1.1.2
Author:
Sergio Morozov

Field Summary
 
Fields inherited from class org.apache.tools.ant.types.ZipFileSet
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, description, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
LibJar()
           
 
Method Summary
 void setIf(String ifProp)
          Sets if attribute.
 void setUnless(String unlessProp)
          Sets unless attribute.
 boolean shouldUse(org.apache.tools.ant.Task task)
          Is this tag allowed to use.
 
Methods inherited from class org.apache.tools.ant.types.ZipFileSet
clone, getDirectoryScanner, getDirMode, getFileMode, getFullpath, getPrefix, getRef, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, setDir, setDirMode, setFileMode, setFullpath, setPrefix, setSrc
 
Methods inherited from class org.apache.tools.ant.types.AbstractFileSet
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDataTypeName, getDefaultexcludes, getDir, getSelectors, hasPatterns, hasSelectors, isFollowSymlinks, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, toString
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, tooManyAttributes
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LibJar

public LibJar()
Method Detail

setIf

public void setIf(String ifProp)
Sets if attribute.

Parameters:
ifProp - the if attribute to set.
Since:
1.1

setUnless

public void setUnless(String unlessProp)
Sets unless attribute.

Parameters:
unlessProp - the unless attribute to set.
Since:
1.1

shouldUse

public boolean shouldUse(org.apache.tools.ant.Task task)
Is this tag allowed to use.

Parameters:
task - owning task
Returns:
true if this tag is allowed to use, false otherwise.
Since:
1.1