|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.dpml.tools.tasks.GenericTask
net.dpml.tools.tasks.ReplicateTask
public class ReplicateTask
Consolidates a set of resources based on project dependencies.
Nested Class Summary | |
---|---|
class |
ReplicateTask.Include
Declaration of an include. |
Field Summary |
---|
Fields inherited from class net.dpml.tools.tasks.GenericTask |
---|
ASC_EXT, GPG_EXE_KEY, MD5_EXT |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
ReplicateTask()
|
Method Summary | |
---|---|
ReplicateTask.Include |
createInclude()
Create and add a new include. |
void |
execute()
Execute the task. |
void |
setKey(String key)
Set the key of the target project or resource. |
void |
setLayout(String id)
Set the id of the target layout strategy. |
void |
setRef(String ref)
Set the ref of the target project or resource. |
void |
setSelf(boolean flag)
Settting self to TRUE will result in expansion of the path to include the target resource. |
void |
setTodir(File todir)
The target directory to copy cached based path elements to. |
void |
setVerbose(boolean flag)
Set the verbose policy. |
Methods inherited from class net.dpml.tools.tasks.GenericTask |
---|
asc, checksum, copy, deleteDir, getContext, getLibrary, getResource, init, isInitialized, mkDir |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicateTask()
Method Detail |
---|
public void setKey(String key)
key
- the resource keypublic void setRef(String ref)
ref
- the resource referencepublic void setLayout(String id)
id
- the layout identifierpublic void setVerbose(boolean flag)
flag
- the verbose flagpublic void setSelf(boolean flag)
flag
- the self inclusion flagpublic ReplicateTask.Include createInclude()
public void setTodir(File todir)
todir
- the destination directorypublic void execute()
execute
in class Task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |