Class ExternalActorSuggestion


  • public class ExternalActorSuggestion
    extends Object
    Class for suggesting actors when editing a flow, depending on the context.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the rules engine for proposing actors.
      • suggest

        public Actor[] suggest​(ActorSuggestion.SuggestionData context)
        Returns the suggested actors.
        Parameters:
        context - the suggestion context
        Returns:
        the suggested actors
      • getSingleton

        public static ExternalActorSuggestion getSingleton()
        Returns the singleton instance for suggesting actors.
        Returns:
        the singleton