public class DirectoryManager extends Object implements Behavior
Constructor and Description |
---|
DirectoryManager(BehaviorController controller)
Instantiates this directory behavior with the default
MemoryDirectoryDatabase . |
DirectoryManager(BehaviorController controller,
DirectoryDatabase database)
Instantiates this directory behavior.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFinished()
Indicates whether the behavior is finished or requires re-scheduling.
|
Result |
result()
Returns the result of the behavior.
|
void |
run()
The implementation of the actual behavior.
|
EventPattern |
waitingFor()
Defines the event pattern for re-scheduling.
|
public DirectoryManager(BehaviorController controller)
MemoryDirectoryDatabase
.controller
- the controller of this behaviorpublic DirectoryManager(BehaviorController controller, DirectoryDatabase database)
controller
- the controller of this behaviordatabase
- the directory databasepublic void run()
Behavior
public EventPattern waitingFor()
Behavior
waitingFor
in interface Behavior
null
if the behavior is finishedpublic boolean isFinished()
Behavior
isFinished
in interface Behavior
true
if the behavior is finished,
false
otherwiseCopyright © Aimpulse Intelligent Systems GmbH
All rights reserved.