Package org.apache.catalina.storeconfig
Class StoreDescription
- java.lang.Object
-
- org.apache.catalina.storeconfig.StoreDescription
-
public class StoreDescription extends java.lang.ObjectBean of a StoreDescription<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 Summary
Constructors Constructor Description StoreDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTransientAttribute(java.lang.String attribute)voidaddTransientChild(java.lang.String classname)java.lang.StringgetId()Return the real id or TagClassIStoreFactorygetStoreFactory()java.lang.StringgetStoreFactoryClass()java.lang.StringgetStoreWriterClass()java.lang.StringgetTag()java.lang.StringgetTagClass()java.util.List<java.lang.String>getTransientAttributes()java.util.List<java.lang.String>getTransientChildren()booleanisAttributes()booleanisBackup()booleanisChildren()booleanisDefault()booleanisExternalAllowed()booleanisExternalOnly()booleanisStandard()booleanisStoreSeparate()booleanisTransientAttribute(java.lang.String attribute)Is attribute transient, please don't save this.booleanisTransientChild(java.lang.String classname)Is child transient, please don't save this.voidremoveTransientAttribute(java.lang.String attribute)voidremoveTransientChild(java.lang.String classname)voidsetAttributes(boolean attributes)voidsetBackup(boolean backup)voidsetChildren(boolean children)voidsetDefault(boolean aDefault)voidsetExternalAllowed(boolean external)voidsetExternalOnly(boolean external)voidsetId(java.lang.String id)voidsetStandard(boolean standard)voidsetStoreFactory(IStoreFactory storeFactory)voidsetStoreFactoryClass(java.lang.String storeFactoryClass)voidsetStoreSeparate(boolean storeSeparate)voidsetStoreWriterClass(java.lang.String storeWriterClass)voidsetTag(java.lang.String tag)voidsetTagClass(java.lang.String tagClass)voidsetTransientAttributes(java.util.List<java.lang.String> transientAttributes)voidsetTransientChildren(java.util.List<java.lang.String> transientChildren)
-
-
-
Method Detail
-
isExternalAllowed
public boolean isExternalAllowed()
- Returns:
- Returns the external.
-
setExternalAllowed
public void setExternalAllowed(boolean external)
- Parameters:
external- The external to set.
-
isExternalOnly
public boolean isExternalOnly()
-
setExternalOnly
public void setExternalOnly(boolean external)
-
isStandard
public boolean isStandard()
- Returns:
- Returns the standard.
-
setStandard
public void setStandard(boolean standard)
- Parameters:
standard- The standard to set.
-
isBackup
public boolean isBackup()
- Returns:
- Returns the backup.
-
setBackup
public void setBackup(boolean backup)
- Parameters:
backup- The backup to set.
-
isDefault
public boolean isDefault()
- Returns:
- Returns the myDefault.
-
setDefault
public void setDefault(boolean aDefault)
- Parameters:
aDefault- The myDefault to set.
-
getStoreFactoryClass
public java.lang.String getStoreFactoryClass()
- Returns:
- Returns the storeFactory.
-
setStoreFactoryClass
public void setStoreFactoryClass(java.lang.String storeFactoryClass)
- Parameters:
storeFactoryClass- The storeFactory to set.
-
getStoreFactory
public IStoreFactory getStoreFactory()
- Returns:
- Returns the storeFactory.
-
setStoreFactory
public void setStoreFactory(IStoreFactory storeFactory)
- Parameters:
storeFactory- The storeFactory to set.
-
getStoreWriterClass
public java.lang.String getStoreWriterClass()
- Returns:
- Returns the storeWriterClass.
-
setStoreWriterClass
public void setStoreWriterClass(java.lang.String storeWriterClass)
- Parameters:
storeWriterClass- The storeWriterClass to set.
-
getTag
public java.lang.String getTag()
- Returns:
- Returns the tagClass.
-
setTag
public void setTag(java.lang.String tag)
- Parameters:
tag- The tag to set.
-
getTagClass
public java.lang.String getTagClass()
- Returns:
- Returns the tagClass.
-
setTagClass
public void setTagClass(java.lang.String tagClass)
- Parameters:
tagClass- The tagClass to set.
-
getTransientAttributes
public java.util.List<java.lang.String> getTransientAttributes()
- Returns:
- Returns the transientAttributes.
-
setTransientAttributes
public void setTransientAttributes(java.util.List<java.lang.String> transientAttributes)
- Parameters:
transientAttributes- The transientAttributes to set.
-
addTransientAttribute
public void addTransientAttribute(java.lang.String attribute)
-
removeTransientAttribute
public void removeTransientAttribute(java.lang.String attribute)
-
getTransientChildren
public java.util.List<java.lang.String> getTransientChildren()
- Returns:
- Returns the transientChildren.
-
setTransientChildren
public void setTransientChildren(java.util.List<java.lang.String> transientChildren)
- Parameters:
transientChildren- The transientChildren to set.
-
addTransientChild
public void addTransientChild(java.lang.String classname)
-
removeTransientChild
public void removeTransientChild(java.lang.String classname)
-
isTransientChild
public boolean isTransientChild(java.lang.String classname)
Is child transient, please don't save this.- Parameters:
classname- The class name to check- Returns:
- is classname attribute?
-
isTransientAttribute
public boolean isTransientAttribute(java.lang.String attribute)
Is attribute transient, please don't save this.- Parameters:
attribute- The attribute name to check- Returns:
- is transient attribute?
-
getId
public java.lang.String getId()
Return the real id or TagClass- Returns:
- Returns the id.
-
setId
public void setId(java.lang.String id)
- Parameters:
id- The id to set.
-
isAttributes
public boolean isAttributes()
- Returns:
- Returns the attributes.
-
setAttributes
public void setAttributes(boolean attributes)
- Parameters:
attributes- The attributes to set.
-
isStoreSeparate
public boolean isStoreSeparate()
- Returns:
- True if it's a separate store
-
setStoreSeparate
public void setStoreSeparate(boolean storeSeparate)
-
isChildren
public boolean isChildren()
- Returns:
- Returns the children.
-
setChildren
public void setChildren(boolean children)
- Parameters:
children- The children to set.
-
-