Class AbstractIndexedSplitsRunsGenerator

    • Field Detail

      • m_FlowContext

        protected Actor m_FlowContext
        the flow context.
    • Constructor Detail

      • AbstractIndexedSplitsRunsGenerator

        public AbstractIndexedSplitsRunsGenerator()
    • Method Detail

      • setMetaData

        public void setMetaData​(BaseKeyValuePair[] value)
        Sets the meta-data to attach. Variables in 'value' parts get automatically expanded.
        Parameters:
        value - the meta-data
      • getMetaData

        public BaseKeyValuePair[] getMetaData()
        Returns the meta-data to attach. Variables in 'value' parts get automatically expanded.
        Returns:
        the meta-data
      • metaDataTipText

        public String metaDataTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getFlowContext

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

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

        protected String check​(Object data)
        Checks whether the data can be processed.
        Parameters:
        data - the data to check
        Returns:
        null if checks passed, otherwise error message
      • doGenerate

        protected abstract IndexedSplitsRuns doGenerate​(Object data,
                                                        MessageCollection errors)
        Generates the indexed splits.
        Parameters:
        data - the data to use for generating the splits
        errors - for storing any errors occurring during processing
        Returns:
        the splits or null in case of error
      • postGenerate

        protected IndexedSplitsRuns postGenerate​(Object data,
                                                 IndexedSplitsRuns runs,
                                                 MessageCollection errors)
        For post-processing successfully generated splits.
        Parameters:
        data - the input data
        runs - the generated runs
        errors - for storing errors
        Returns:
        the runs, null if failed to post-process