|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.profiling.component.ProfilingPngSerializer
public class ProfilingPngSerializer
A cocoon pipeline component that generates and serializes a png image that visualizes profiling information.
Nested Class Summary | |
---|---|
protected static class |
ProfilingPngSerializer.ErrorMessageDrawer
|
Constructor Summary | |
---|---|
ProfilingPngSerializer()
|
Method Summary | |
---|---|
CacheKey |
constructCacheKey()
|
void |
execute()
|
void |
finish()
This method is called after pipeline run - regardless if the run was successful or an exception was thrown. |
String |
getContentType()
|
void |
setConfiguration(Map<String,? extends Object> configuration)
Pass component specific configuration parameters to the pipeline component in a generic way. |
void |
setOutputStream(OutputStream outputStream)
|
void |
setProfilingDataHolder(ProfilingDataHolder dataHolder)
|
void |
setup(Map<String,Object> parameters)
The shared object map for this pipeline run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfilingPngSerializer()
Method Detail |
---|
public void setOutputStream(OutputStream outputStream)
setOutputStream
in interface Finisher
public String getContentType()
getContentType
in interface Finisher
public void finish()
finish
in interface PipelineComponent
public void setConfiguration(Map<String,? extends Object> configuration)
setConfiguration
in interface PipelineComponent
configuration
- The Map
of configuration parameters.public void execute()
execute
in interface Starter
public void setProfilingDataHolder(ProfilingDataHolder dataHolder)
public void setup(Map<String,Object> parameters)
setup
in interface PipelineComponent
parameters
- A Map
of parameters that are available to all
PipelineComponent
s. This is a modifiable map that can
be changed by this pipeline component.public CacheKey constructCacheKey()
constructCacheKey
in interface CachingPipelineComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |