org.freecompany.imp
Class Dependency
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.freecompany.imp.Resolve
org.freecompany.imp.Dependency
- All Implemented Interfaces:
- java.lang.Cloneable
public class Dependency
- extends Resolve
Field Summary |
protected boolean |
imported
|
protected boolean |
isModule
|
protected java.util.logging.Logger |
logger
|
protected java.util.List<java.lang.String> |
types
|
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Method Summary |
protected void |
addDependency(java.net.URL dependency)
|
void |
execute()
Resolves the nested (and index included) dependencies into the proper runtime path sets. |
protected java.lang.String |
getBinding()
Defines the name attribute as being requires for this class. |
java.util.List<java.lang.String> |
getTypes()
|
boolean |
isModule()
|
void |
setImported(boolean imported)
Sets this dependency to imported mode, which causes the dependency to be
excluded from the final list of packaged dependencies. |
void |
setTypes(java.util.List<java.lang.String> types)
|
void |
setTypes(java.lang.String types)
|
void |
setupAll()
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected final java.util.logging.Logger logger
isModule
protected boolean isModule
imported
protected boolean imported
types
protected java.util.List<java.lang.String> types
Dependency
public Dependency()
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Resolves the nested (and index included) dependencies into the proper runtime path sets. This has
to be done as a separate step because the types values will not be set at the time the objects are
added to this container.
- Overrides:
execute
in class Resolve
- Throws:
org.apache.tools.ant.BuildException
addDependency
protected void addDependency(java.net.URL dependency)
setupAll
public void setupAll()
isModule
public boolean isModule()
setImported
public void setImported(boolean imported)
- Sets this dependency to imported mode, which causes the dependency to be
excluded from the final list of packaged dependencies.
setTypes
public void setTypes(java.lang.String types)
setTypes
public void setTypes(java.util.List<java.lang.String> types)
getTypes
public java.util.List<java.lang.String> getTypes()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getBinding
protected java.lang.String getBinding()
- Description copied from class:
Resolve
- Defines the name attribute as being requires for this class. Subclasses which do not want
to automatically bind to an Ant property can make this optional.
- Overrides:
getBinding
in class Resolve