class AgentManager |
|
Provides an interface to retrieve agent types and manage agent instances.
This singleton class can be used to create or remove agent instances or trigger synchronization of collections. Furthermore it provides information about status changes of the agents.
Author Tobias Koenig |
|
|
Returns the agent instance with the given identifier or an invalid agent instance if the identifier does not exist. |
|
This signal is emitted whenever a new agent instance was created.
instance - The new agent instance. |
|
This signal is emitted whenever the agent instance raised an error.
instance - The agent instance that raised the error. message - The i18n'ed error message. |
|
This signal is emitted whenever the name of the agent instance has changed.
instance - The agent instance that name has changed. |
|
This signal is emitted whenever the progress of an agent instance has
changed.
instance - The agent instance that progress has changed. |
|
This signal is emitted whenever an agent instance was removed.
instance - The removed agent instance. |
|
This signal is emitted whenever the status of an agent instance has
changed.
instance - The agent instance that status has changed. |
|
This signal is emitted whenever the agent instance raised a warning.
instance - The agent instance that raised the warning. message - The i18n'ed warning message. |
|
Returns the list of all available agent instances. |
|
Removes the given agent instance. |
|
Returns the global instance of the agent manager. |
|
Trigger a synchronization of the given collection by its owning resource agent.
collection - The collection to synchronize. |
|
Returns the agent type with the given identifier or an invalid agent type if the identifier does not exist. |
|
This signal is emitted whenever a new agent type was installed on the system.
type - The new agent type. |
|
This signal is emitted whenever an agent type was removed from the system.
type - The removed agent type. |
|
Returns the list of all available agent types. |