Class AbstractWekaPackageManagerAction

    • Field Detail

      • m_FlowContext

        protected Actor m_FlowContext
        the flow context.
    • Constructor Detail

      • AbstractWekaPackageManagerAction

        public AbstractWekaPackageManagerAction()
    • Method Detail

      • getFlowContext

        public Actor getFlowContext()
        Returns the flow context, if any.
        Specified by:
        getFlowContext in interface FlowContextHandler
        Returns:
        the actor, null if none available
      • generates

        public abstract Class[] generates()
        The types of data the action generates.
        Returns:
        the output types
      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Default implementation returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • check

        protected String check()
        Hook method for performing checks.
        Returns:
        null if checks passed, otherwise error message
      • doExecute

        public abstract Object doExecute​(MessageCollection errors)
        Executes the action.
        Parameters:
        errors - for collecting errors
        Returns:
        the generated output, null if failed to generated
      • execute

        public Object execute​(MessageCollection errors)
        Executes the action.
        Parameters:
        errors - for collecting errors
        Returns:
        the generated output, null if failed to generated