Class BeanTaskConfig
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.utils.config.AbstractConfigurationElementList
-
- com.microstrategy.web.app.tasks.config.BeanTaskConfig
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationElementList
,ConfigurationFile
,java.lang.Cloneable
public class BeanTaskConfig extends AbstractConfigurationElementList
THIS CLASS IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE CLASS IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT.- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NODE_BEANTASK
-
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
ATT_VERSION
-
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description BeanTaskConfig()
BeanTaskConfig(org.w3c.dom.Node root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEventInfo(EventInfo evtInfo)
BeanInfo
getBeanInfo()
Returns the information about the bean.java.lang.String
getBeanTaskClass()
Returns the fully qualified class name for this task.java.lang.String
getBeanTaskPrivileges()
protected java.lang.String
getDTDFileName()
Returns the name of a DTD file that will be added as SystemID to the XML resulting from serializing the contents of this ConfigurationElement into a file;null
by default.EventInfo
getEventInfo(int index)
EventInfo[]
getEventInfoArray()
Returns the information about the events.TaskMetadataImpl
getMetadata()
Returns the TaskMetadataImpl object associated with this task.java.lang.String
getRegisterAs()
Returns the ID to use for registering this task.boolean
isAdminTask()
Returns whether the task is administrative task.void
setAdminTask(boolean value)
void
setBeanInfo(BeanInfo beanInfo)
void
setBeanTaskClass(java.lang.String className)
void
setBeanTaskPrivileges(java.lang.String privileges)
void
setDeleted(boolean toDelete)
marks this task as deleted if parameter is true.void
setInitPath(java.lang.String path)
This method is used only if a new Element is created programmatically using the conifguration editor.void
setMetadata(TaskMetadataImpl basicInfo)
void
setRegisterAs(java.lang.String registerAs)
-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
clear, clone, get, get, getFilteredList, getKey, getKeyAttribute, getList, getValues, getVersion, init, isEmpty, put, put, registerElementInList, remove, setVersion, size, sort
-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microstrategy.utils.config.ConfigurationElement
getAttribute, getAttributes, getElement, getElements, getKey, getNodeName, getStrAttribute, initFromXML, reload, toXML
-
-
-
-
Field Detail
-
NODE_BEANTASK
public static final java.lang.String NODE_BEANTASK
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRegisterAs
public java.lang.String getRegisterAs()
Returns the ID to use for registering this task.- Returns:
- The ID to use for registering this task.
-
setRegisterAs
public void setRegisterAs(java.lang.String registerAs)
-
isAdminTask
public boolean isAdminTask()
Returns whether the task is administrative task.- Returns:
- true if the task is administrative task.
-
setAdminTask
public void setAdminTask(boolean value)
-
getBeanTaskClass
public java.lang.String getBeanTaskClass()
Returns the fully qualified class name for this task.- Returns:
- The fully qualified class name for this task.
-
setBeanTaskClass
public void setBeanTaskClass(java.lang.String className)
-
getBeanTaskPrivileges
public java.lang.String getBeanTaskPrivileges()
-
setBeanTaskPrivileges
public void setBeanTaskPrivileges(java.lang.String privileges)
-
getEventInfoArray
public EventInfo[] getEventInfoArray()
Returns the information about the events.- Returns:
- An array of
EventInfo
objects.
-
getBeanInfo
public BeanInfo getBeanInfo()
Returns the information about the bean.- Returns:
- A
BeanInfo
object.
-
setBeanInfo
public void setBeanInfo(BeanInfo beanInfo)
-
getMetadata
public TaskMetadataImpl getMetadata()
Returns the TaskMetadataImpl object associated with this task.- Returns:
- The
TaskMetadataImpl
object associated with this task.
-
setMetadata
public void setMetadata(TaskMetadataImpl basicInfo)
-
getEventInfo
public EventInfo getEventInfo(int index)
-
addEventInfo
public void addEventInfo(EventInfo evtInfo)
-
setInitPath
public void setInitPath(java.lang.String path)
This method is used only if a new Element is created programmatically using the conifguration editor.- Parameters:
path
- The path for newly created beantaskconfig
-
setDeleted
public void setDeleted(boolean toDelete)
marks this task as deleted if parameter is true.
-
getDTDFileName
protected java.lang.String getDTDFileName()
Description copied from class:AbstractConfigurationElement
Returns the name of a DTD file that will be added as SystemID to the XML resulting from serializing the contents of this ConfigurationElement into a file;null
by default. This method should be extended if the concrete instance of an element has a predefined DTD file associated.- Overrides:
getDTDFileName
in classAbstractConfigurationElement
-
-