public class Template extends AssetSetup
Modifier and Type | Field and Description |
---|---|
static char |
EXTERNAL |
static char |
INTERNAL |
static char |
LAYOUT |
static char |
STREAMED |
static char |
UNSPECIFIED |
Constructor and Description |
---|
Template(java.lang.String subtype,
java.lang.String name,
char ttype,
java.lang.Class<?> elementClass) |
Template(java.lang.String subtype,
java.lang.String name,
char ttype,
java.lang.Class<?> elementClass,
AssetSetup nextSetup)
Setup a template with a chained setup
|
Template(java.lang.String subtype,
java.lang.String name,
char ttype,
java.lang.String forSubtype,
java.lang.Class<?> elementClass)
Create a template with given subtype, name, and top element, applying to
given subtypes.
|
Modifier and Type | Method and Description |
---|---|
Template |
cache(java.lang.String cscache,
java.lang.String sscache)
Fluent cache setter
|
Template |
cacheCriteria(java.lang.String criteria) |
AssetSetup |
description(java.lang.String description)
Fluent description setter
|
java.lang.String |
getCscache() |
java.lang.String |
getElement() |
java.lang.String |
getSscache() |
void |
init(java.lang.String site)
Complete initialization of the class
|
getName, getNextSetup, setCid, setNextSetup, setTypeSubtype
dump, getC, getCid, getDescription, getEndDate, getFilename, getId, getPath, getSite, getStartDate, getSubtype, getTemplate, setDescription, toString
public static final char UNSPECIFIED
public static final char INTERNAL
public static final char STREAMED
public static final char EXTERNAL
public static final char LAYOUT
public Template(java.lang.String subtype, java.lang.String name, char ttype, java.lang.Class<?> elementClass)
public Template(java.lang.String subtype, java.lang.String name, char ttype, java.lang.String forSubtype, java.lang.Class<?> elementClass)
subtype
- name
- description
- element
- public Template(java.lang.String subtype, java.lang.String name, char ttype, java.lang.Class<?> elementClass, AssetSetup nextSetup)
subtype
- name
- ttype
- elementClass
- nextSetup
- public void init(java.lang.String site)
AssetBase
public Template cache(java.lang.String cscache, java.lang.String sscache)
cscache
- sscache
- public Template cacheCriteria(java.lang.String criteria)
public java.lang.String getElement()
public java.lang.String getCscache()
public java.lang.String getSscache()
public AssetSetup description(java.lang.String description)
description
-