org.apache.ant.compress.conditions
Class HasGroupId
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.ant.compress.conditions.HasGroupId
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.tools.ant.taskdefs.condition.Condition
public class HasGroupId
- extends org.apache.tools.ant.ProjectComponent
- implements org.apache.tools.ant.taskdefs.condition.Condition
Tests the group id of an archive entry.
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasGroupId
public HasGroupId()
add
public void add(org.apache.tools.ant.types.resources.TarResource r)
add
public void add(CommonsCompressArchiveResource r)
setId
public void setId(int i)
validate
protected void validate()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
eval
public boolean eval()
throws org.apache.tools.ant.BuildException
- Specified by:
eval
in interface org.apache.tools.ant.taskdefs.condition.Condition
- Throws:
org.apache.tools.ant.BuildException