|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.avalon.tools.tasks.ContextualTask org.apache.avalon.tools.tasks.SystemTask org.apache.avalon.tools.tasks.DeclareTask org.apache.avalon.tools.tasks.BlockTask
Create meta-data for a block.
Nested Class Summary | |
static class |
BlockTask.Component
|
static class |
BlockTask.Context
|
static class |
BlockTask.Dependencies
|
static class |
BlockTask.Dependency
|
static class |
BlockTask.Entry
|
static class |
BlockTask.Identifiable
|
static class |
BlockTask.Include
|
static class |
BlockTask.Param
|
static class |
BlockTask.Parameter
|
static class |
BlockTask.Parameters
|
static class |
BlockTask.Service
|
Field Summary |
Fields inherited from class org.apache.avalon.tools.tasks.ContextualTask |
MODULE_PROPERTIES, USER_PROPERTIES |
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 | |
BlockTask()
|
Method Summary | |
BlockTask.Component |
createComponent()
|
BlockTask.Include |
createInclude()
|
BlockTask.Service |
createService()
|
void |
execute()
|
protected File |
getPluginFile()
|
void |
init()
|
void |
setEmbed(String target)
Optional attribute indicating that the block is to be generated as an embedded BLOCK-INF/block.xml into either the MAIN or TEST classes directory as indicated by the target parameter. |
void |
setName(String name)
|
void |
setStandalone(boolean flag)
Optional attribute indicating that the block is to be generated as a standalone block. |
protected void |
writeContainer(String pad,
Writer writer,
Definition def)
|
protected void |
writePlugin(Writer writer,
Definition def)
|
Methods inherited from class org.apache.avalon.tools.tasks.DeclareTask |
setType, writeClasspath |
Methods inherited from class org.apache.avalon.tools.tasks.SystemTask |
getHome, setRefid |
Methods inherited from class org.apache.avalon.tools.tasks.ContextualTask |
getContext, getKey, isInitialized, loadProperties, mkDir, setupProperties |
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 BlockTask()
Method Detail |
public void setName(String name)
public void setEmbed(String target)
public void setStandalone(boolean flag)
protected File getPluginFile()
getPluginFile
in class DeclareTask
public BlockTask.Component createComponent()
public BlockTask.Include createInclude()
public BlockTask.Service createService()
public void init()
init
in class ContextualTask
public void execute()
execute
in class DeclareTask
protected void writePlugin(Writer writer, Definition def) throws IOException
writePlugin
in class DeclareTask
IOException
protected void writeContainer(String pad, Writer writer, Definition def) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |