Interface BehaviourRegistry


public interface BehaviourRegistry
Interface for a behaviour registry.
Since:
5.0
Author:
Roy Wetherall
  • Method Details

    • registerBehaviour

      void registerBehaviour(String name, Behaviour behaviour)
      Register a behaviour against a given name.
      Parameters:
      behaviour - behaviour
    • getBehaviour

      Behaviour getBehaviour(String name)
      Gets the behaviour for a given name.
      Parameters:
      name - behaviour name
      Returns:
      Behaviour behaviour, null otherwise