public final class DynamicManager extends Object
Init. Don't
forget to delete them in Delete This class is injected by DynamicManagement| Constructor and Description |
|---|
DynamicManager(DeviceImpl deviceImpl)
Ctr
|
| Modifier and Type | Method and Description |
|---|---|
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(String... exclude)
Remove all dynamic attributes with exceptions
|
void |
clearCommands()
Remove all dynamic commands
|
void |
clearCommandsWithExclude(String... exclude)
Remove all dynamic command with exceptions
|
IAttributeBehavior |
getAttribute(String attributeName)
Get a dynamic attribute
|
ICommandBehavior |
getCommand(String commandName)
Get a dynamic command
|
List<IAttributeBehavior> |
getDynamicAttributes()
Retrieve all dynamic attributes
|
List<ICommandBehavior> |
getDynamicCommands()
Retrieve all dynamic commands
|
void |
removeAttribute(String attributeName)
remove a dynamic attribute
|
void |
removeAttribute(String attributeName,
boolean clearAttributeProperties)
remove a dynamic attribute
|
void |
removeCommand(String commandName)
Remove a command
|
public DynamicManager(DeviceImpl deviceImpl)
deviceImpl - the associated devicepublic void addAttribute(IAttributeBehavior behavior) throws fr.esrf.Tango.DevFailed
behavior - fr.esrf.Tango.DevFailedpublic void removeAttribute(String attributeName) throws fr.esrf.Tango.DevFailed
attributeName - attribute namefr.esrf.Tango.DevFailedpublic void removeAttribute(String attributeName, boolean clearAttributeProperties) throws fr.esrf.Tango.DevFailed
attributeName - attribute namefr.esrf.Tango.DevFailedpublic void clearAttributesWithExclude(String... exclude) throws fr.esrf.Tango.DevFailed
exclude - The attribute that will not be removedfr.esrf.Tango.DevFailedpublic void clearAttributes()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void clearAttributes(boolean clearAttributeProperties)
throws fr.esrf.Tango.DevFailed
clearAttributeProperties - true to remove all attributes properties from tango dbfr.esrf.Tango.DevFailedpublic List<IAttributeBehavior> getDynamicAttributes()
public IAttributeBehavior getAttribute(String attributeName)
attributeName - the attribute namepublic void addCommand(ICommandBehavior behavior) throws fr.esrf.Tango.DevFailed
behavior - fr.esrf.Tango.DevFailedpublic void removeCommand(String commandName) throws fr.esrf.Tango.DevFailed
commandName - command namefr.esrf.Tango.DevFailedpublic ICommandBehavior getCommand(String commandName)
commandName - command namepublic void clearCommands()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void clearCommandsWithExclude(String... exclude) throws fr.esrf.Tango.DevFailed
exclude - The commands that will not be removedfr.esrf.Tango.DevFailedpublic List<ICommandBehavior> getDynamicCommands()
public void clearAll()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void clearAll(boolean clearAttributeProperties)
throws fr.esrf.Tango.DevFailed
clearAttributeProperties - to remove attributes properties from tango dbfr.esrf.Tango.DevFailedCopyright © 2012–2017 Tango Controls. All rights reserved.