public class StoreDescription extends Object
<Description tag="Context" standard="true" default="true" externalAllowed="true" storeSeparate="true" backup="true" children="true" tagClass="org.apache.catalina.core.StandardContext" storeFactoryClass="org.apache.catalina.storeconfig.StandardContextSF" storeAppenderClass="org.apache.catalina.storeconfig.StoreContextAppender"> <TransientAttribute>available</TransientAttribute> <TransientAttribute>configFile</TransientAttribute> <TransientAttribute>configured</TransientAttribute> <TransientAttribute>displayName</TransientAttribute> <TransientAttribute>distributable</TransientAttribute> <TransientAttribute>domain</TransientAttribute> <TransientAttribute>engineName</TransientAttribute> <TransientAttribute>name</TransientAttribute> <TransientAttribute>publicId</TransientAttribute> <TransientAttribute>replaceWelcomeFiles</TransientAttribute> <TransientAttribute>saveConfig</TransientAttribute> <TransientAttribute>sessionTimeout</TransientAttribute> <TransientAttribute>startupTime</TransientAttribute> <TransientAttribute>tldScanTime</TransientAttribute> </Description>
Constructor and Description |
---|
StoreDescription() |
Modifier and Type | Method and Description |
---|---|
void |
addTransientAttribute(String attribute) |
void |
addTransientChild(String classname) |
String |
getId()
Return the real id or TagClass
|
IStoreFactory |
getStoreFactory() |
String |
getStoreFactoryClass() |
String |
getStoreWriterClass() |
String |
getTag() |
String |
getTagClass() |
List<String> |
getTransientAttributes() |
List<String> |
getTransientChildren() |
boolean |
isAttributes() |
boolean |
isBackup() |
boolean |
isChildren() |
boolean |
isDefault() |
boolean |
isExternalAllowed() |
boolean |
isExternalOnly() |
boolean |
isStandard() |
boolean |
isStoreSeparate() |
boolean |
isTransientAttribute(String attribute)
is attribute transient, please don't save this.
|
boolean |
isTransientChild(String classname)
is child transient, please don't save this.
|
void |
removeTransientAttribute(String attribute) |
void |
removeTransientChild(String classname) |
void |
setAttributes(boolean attributes) |
void |
setBackup(boolean backup) |
void |
setChildren(boolean children) |
void |
setDefault(boolean aDefault) |
void |
setExternalAllowed(boolean external) |
void |
setExternalOnly(boolean external) |
void |
setId(String id) |
void |
setStandard(boolean standard) |
void |
setStoreFactory(IStoreFactory storeFactory) |
void |
setStoreFactoryClass(String storeFactoryClass) |
void |
setStoreSeparate(boolean storeSeparate) |
void |
setStoreWriterClass(String storeWriterClass) |
void |
setTag(String tag) |
void |
setTagClass(String tagClass) |
void |
setTransientAttributes(List<String> transientAttributes) |
void |
setTransientChildren(List<String> transientChildren) |
public boolean isExternalAllowed()
public void setExternalAllowed(boolean external)
external
- The external to set.public boolean isExternalOnly()
public void setExternalOnly(boolean external)
public boolean isStandard()
public void setStandard(boolean standard)
standard
- The standard to set.public boolean isBackup()
public void setBackup(boolean backup)
backup
- The backup to set.public boolean isDefault()
public void setDefault(boolean aDefault)
aDefault
- The myDefault to set.public String getStoreFactoryClass()
public void setStoreFactoryClass(String storeFactoryClass)
storeFactoryClass
- The storeFactory to set.public IStoreFactory getStoreFactory()
public void setStoreFactory(IStoreFactory storeFactory)
storeFactory
- The storeFactory to set.public String getStoreWriterClass()
public void setStoreWriterClass(String storeWriterClass)
storeWriterClass
- The storeWriterClass to set.public String getTag()
public void setTag(String tag)
tag
- The tag to set.public String getTagClass()
public void setTagClass(String tagClass)
tagClass
- The tagClass to set.public List<String> getTransientAttributes()
public void setTransientAttributes(List<String> transientAttributes)
transientAttributes
- The transientAttributes to set.public void addTransientAttribute(String attribute)
public void removeTransientAttribute(String attribute)
public List<String> getTransientChildren()
public void setTransientChildren(List<String> transientChildren)
transientChildren
- The transientChildren to set.public void addTransientChild(String classname)
public void removeTransientChild(String classname)
public boolean isTransientChild(String classname)
classname
- public boolean isTransientAttribute(String attribute)
attribute
- public String getId()
public void setId(String id)
id
- The id to set.public boolean isAttributes()
public void setAttributes(boolean attributes)
attributes
- The attributes to set.public boolean isStoreSeparate()
public void setStoreSeparate(boolean storeSeparate)
public boolean isChildren()
public void setChildren(boolean children)
children
- The children to set.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.