@FunctionalInterface public interface Screen extends Assembler
Modifier and Type | Field and Description |
---|---|
static int |
CACHE_SIZE_DEFAULT
The default size for the screen cache
|
static String |
CACHE_SIZE_KEY
Property for the size of the screen cache if caching is on
|
static String |
NAME
Represents Screen Objects
|
static String |
PREFIX
Prefix for screen related classes and templates
|
Modifier and Type | Method and Description |
---|---|
default String |
build(PipelineData pipelineData)
Subclasses can override this method to add additional
functionality.
|
String |
doBuild(PipelineData pipelineData)
A subclass must implement this method to build itself.
|
default String |
getLayout(PipelineData pipelineData)
If the Layout has not been defined by the Screen then set the
layout to be "DefaultLayout".
|
default void |
setLayout(PipelineData pipelineData,
String layout)
Set the layout for a Screen.
|
static final String PREFIX
static final String CACHE_SIZE_KEY
static final int CACHE_SIZE_DEFAULT
static final String NAME
String doBuild(PipelineData pipelineData) throws Exception
pipelineData
- Turbine information.Exception
- a generic exception.default String build(PipelineData pipelineData) throws Exception
pipelineData
- Turbine information.Exception
- a generic exception.default String getLayout(PipelineData pipelineData)
pipelineData
- Turbine information.default void setLayout(PipelineData pipelineData, String layout)
pipelineData
- Turbine information.layout
- The layout name.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.