description, location, project| Constructor and Description | 
|---|
| ResourceCount() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(ResourceCollection r)Add the ResourceCollection to count. | 
| boolean | eval()Fulfill the condition contract. | 
| void | execute()Execute as a Task. | 
| void | setCount(int c)Set the target count number for use as a Condition. | 
| void | setProperty(java.lang.String p)Set the name of the property to set in task mode. | 
| void | setRefid(Reference r)Set the ResourceCollection reference. | 
| void | setWhen(Comparison c)Set the comparison for use as a Condition. | 
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void add(ResourceCollection r)
r - the ResourceCollection to count.BuildException - if already set.public void setRefid(Reference r)
r - the Reference.public boolean eval()
eval in interface ConditionBuildException - if an error occurs.public void setCount(int c)
c - number of Resources as int.public void setWhen(Comparison c)
c - Comparison (an EnumeratedAttribute) When.Comparisonpublic void setProperty(java.lang.String p)
p - the property name to set.