|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tango.server.dynamic.DynamicManager
public final class DynamicManager
Manage dynamic commands and attributes. The creation of commands and attributes should done in Init. Don't
forget to delete them in Delete This class is injected by DynamicManagement
| Constructor Summary | |
|---|---|
DynamicManager(DeviceImpl deviceImpl)
Ctr |
|
| Method Summary | |
|---|---|
void |
addAttribute(IAttributeBehavior behavior)
Add attribute. |
void |
addCommand(ICommandBehavior behavior)
Add command. |
void |
clearAll()
Remove all dynamic attributes and commands |
void |
clearAll(boolean clearAttributeProperties)
Remove all dynamic attributes and commands |
void |
clearAttributes()
Remove all dynamic attributes |
void |
clearAttributes(boolean clearAttributeProperties)
Remove all dynamic attributes |
void |
clearAttributesWithExclude(java.lang.String... exclude)
Remove all dynamic attributes with exceptions |
void |
clearCommands()
Remove all dynamic commands |
void |
clearCommandsWithExclude(java.lang.String... exclude)
Remove all dynamic command with exceptions |
IAttributeBehavior |
getAttribute(java.lang.String attributeName)
Get a dynamic attribute |
ICommandBehavior |
getCommand(java.lang.String commandName)
Get a dynamic command |
java.util.List<IAttributeBehavior> |
getDynamicAttributes()
Retrieve all dynamic attributes |
java.util.List<ICommandBehavior> |
getDynamicCommands()
Retrieve all dynamic commands |
void |
removeAttribute(java.lang.String attributeName)
remove a dynamic attribute |
void |
removeAttribute(java.lang.String attributeName,
boolean clearAttributeProperties)
remove a dynamic attribute |
void |
removeCommand(java.lang.String commandName)
Remove a command |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicManager(DeviceImpl deviceImpl)
deviceImpl - the associated device| Method Detail |
|---|
public void addAttribute(IAttributeBehavior behavior)
throws fr.esrf.Tango.DevFailed
behavior -
fr.esrf.Tango.DevFailed
public void removeAttribute(java.lang.String attributeName)
throws fr.esrf.Tango.DevFailed
attributeName - attribute name
fr.esrf.Tango.DevFailed
public void removeAttribute(java.lang.String attributeName,
boolean clearAttributeProperties)
throws fr.esrf.Tango.DevFailed
attributeName - attribute name
fr.esrf.Tango.DevFailed
public void clearAttributesWithExclude(java.lang.String... exclude)
throws fr.esrf.Tango.DevFailed
exclude - The attribute that will not be removed
fr.esrf.Tango.DevFailed
public void clearAttributes()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public void clearAttributes(boolean clearAttributeProperties)
throws fr.esrf.Tango.DevFailed
clearAttributeProperties - true to remove all attributes properties from tango db
fr.esrf.Tango.DevFailedpublic java.util.List<IAttributeBehavior> getDynamicAttributes()
public IAttributeBehavior getAttribute(java.lang.String attributeName)
attributeName - the attribute name
public void addCommand(ICommandBehavior behavior)
throws fr.esrf.Tango.DevFailed
behavior -
fr.esrf.Tango.DevFailed
public void removeCommand(java.lang.String commandName)
throws fr.esrf.Tango.DevFailed
commandName - command name
fr.esrf.Tango.DevFailedpublic ICommandBehavior getCommand(java.lang.String commandName)
commandName - command name
public void clearCommands()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public void clearCommandsWithExclude(java.lang.String... exclude)
throws fr.esrf.Tango.DevFailed
exclude - The commands that will not be removed
fr.esrf.Tango.DevFailedpublic java.util.List<ICommandBehavior> getDynamicCommands()
public void clearAll()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public void clearAll(boolean clearAttributeProperties)
throws fr.esrf.Tango.DevFailed
clearAttributeProperties - to remove attributes properties from tango db
fr.esrf.Tango.DevFailed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||