|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
public abstract class Action
Generic Action class.
Field Summary | |
---|---|
static int |
CACHE_SIZE_DEFAULT
The default size for the action cache |
static java.lang.String |
CACHE_SIZE_KEY
Property for the size of the module cache if caching is on |
static java.lang.String |
NAME
Represents Action Objects |
static java.lang.String |
PREFIX
Prefix for action related classes and templates |
Constructor Summary | |
---|---|
Action()
|
Method Summary | |
---|---|
void |
doPerform(PipelineData pipelineData)
A subclass must override this method to perform itself. |
abstract void |
doPerform(RunData data)
Deprecated. Use PipelineData version instead. |
java.lang.String |
getPrefix()
Abstract method to provide the prefix for module related classes and templates |
protected void |
perform(PipelineData pipelineData)
Subclasses can override this method to add additional functionality. |
protected void |
perform(RunData data)
Deprecated. Use PipelineData version instead. |
Methods inherited from class org.apache.turbine.modules.Assembler |
---|
getRunData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PREFIX
public static final java.lang.String CACHE_SIZE_KEY
public static final int CACHE_SIZE_DEFAULT
public static final java.lang.String NAME
Constructor Detail |
---|
public Action()
Method Detail |
---|
public java.lang.String getPrefix()
Assembler
getPrefix
in class Assembler
Assembler.getPrefix()
public abstract void doPerform(RunData data) throws java.lang.Exception
data
- Turbine information.
java.lang.Exception
- a generic exception.protected void perform(RunData data) throws java.lang.Exception
data
- Turbine information.
java.lang.Exception
- a generic exception.public void doPerform(PipelineData pipelineData) throws java.lang.Exception
data
- Turbine information.
java.lang.Exception
- a generic exception.protected void perform(PipelineData pipelineData) throws java.lang.Exception
data
- Turbine information.
java.lang.Exception
- a generic exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |