Interface BehaviourRegistry


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

      • registerBehaviour

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

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