Package org.chenile.owiz.config.model
Class CommandDescriptor<InputType>
java.lang.Object
org.chenile.owiz.config.model.CommandDescriptor<InputType>
Stores the meta data about all the commands that have been configured in the system.
- Author:
- Raja Shankar Kolluru
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set<AttachmentDescriptor<InputType>>private Stringprivate CustomCommandTagDescriptorprivate Stringprivate booleanprivate FlowDescriptor<InputType>private Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachmentDescriptor(AttachmentDescriptor<InputType> attachmentDescriptor) voidaddComponentProperty(String name, String value) getId()getPropertyValue(String name) booleanisFirst()voidsetCommand(Command<InputType> command) voidsetComponentName(String componentName) voidsetCustomCommandTagDescriptor(CustomCommandTagDescriptor customCommandTagDescriptor) voidsetDefaultAttachmentTag(String defaultAttachmentTag) voidsetFirst(boolean first) voidsetFlowDescriptor(FlowDescriptor<InputType> flowDescriptor) voidvoidsetTagName(String tagName) toXml()
-
Field Details
-
id
-
componentName
-
defaultAttachmentTag
-
tagName
-
first
private boolean first -
attachmentDescriptors
-
command
-
properties
-
customCommandTagDescriptor
-
flowDescriptor
-
-
Constructor Details
-
CommandDescriptor
public CommandDescriptor()
-
-
Method Details
-
getCommand
-
setCommand
-
getId
-
setId
-
getComponentName
-
setComponentName
-
setFirst
public void setFirst(boolean first) -
isFirst
public boolean isFirst() -
getAttachmentDescriptors
-
addAttachmentDescriptor
-
toXml
-
addComponentProperty
-
getProperties
-
getPropertyValue
-
setCustomCommandTagDescriptor
-
getCustomCommandTagDescriptor
-
setFlowDescriptor
-
getFlowDescriptor
-
getDefaultAttachmentTag
-
setDefaultAttachmentTag
-
getTagName
-
setTagName
-