public abstract class 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
|
Constructor and Description |
---|
Screen() |
Modifier and Type | Method and Description |
---|---|
protected String |
build(PipelineData pipelineData)
Subclasses can override this method to add additional
functionality.
|
protected abstract String |
doBuild(PipelineData pipelineData)
A subclass must override this method to build itself.
|
String |
getLayout(PipelineData pipelineData)
If the Layout has not been defined by the Screen then set the
layout to be "DefaultLayout".
|
String |
getPrefix()
Abstract method to provide the prefix for module related classes and
templates
|
void |
setLayout(PipelineData pipelineData,
String layout)
Set the layout for a Screen.
|
getRunData
public static final String PREFIX
public static final String CACHE_SIZE_KEY
public static final int CACHE_SIZE_DEFAULT
public static final String NAME
public Screen()
public String getPrefix()
Assembler
getPrefix
in class Assembler
Assembler.getPrefix()
protected abstract String doBuild(PipelineData pipelineData) throws Exception
pipelineData
- Turbine information.Exception
- a generic exception.protected String build(PipelineData pipelineData) throws Exception
pipelineData
- Turbine information.Exception
- a generic exception.public String getLayout(PipelineData pipelineData)
pipelineData
- Turbine information.public void setLayout(PipelineData pipelineData, String layout)
pipelineData
- Turbine information.layout
- The layout name.Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.