Interface BehaviourRegistry
public interface BehaviourRegistry
Interface for a behaviour registry.
- Since:
- 5.0
- Author:
- Roy Wetherall
-
Method Summary
Modifier and TypeMethodDescriptiongetBehaviour(String name) Gets the behaviour for a given name.voidregisterBehaviour(String name, Behaviour behaviour) Register a behaviour against a given name.
-
Method Details
-
registerBehaviour
Register a behaviour against a given name.- Parameters:
behaviour- behaviour
-
getBehaviour
Gets the behaviour for a given name.- Parameters:
name- behaviour name- Returns:
Behaviourbehaviour, null otherwise
-