org.apache.ant.compress.conditions
Class HasGroupName

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.ant.compress.conditions.HasGroupName
All Implemented Interfaces:
java.lang.Cloneable, org.apache.tools.ant.taskdefs.condition.Condition

public class HasGroupName
extends org.apache.tools.ant.ProjectComponent
implements org.apache.tools.ant.taskdefs.condition.Condition

Tests the group name of a tar entry.


Field Summary
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
HasGroupName()
           
 
Method Summary
 void add(org.apache.tools.ant.types.resources.TarResource r)
           
 void add(TarResource r)
           
 boolean eval()
           
 void setName(java.lang.String n)
           
protected  void validate()
           
 
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
 

Constructor Detail

HasGroupName

public HasGroupName()
Method Detail

add

public void add(org.apache.tools.ant.types.resources.TarResource r)

add

public void add(TarResource r)

setName

public void setName(java.lang.String n)

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