Class DataSetDescriptor

  • All Implemented Interfaces:
    Descriptor

    public class DataSetDescriptor
    extends AbstractDescriptor
    Descriptor that defines a single DataSet.
    Author:
    Nick Collier
    • Constructor Detail

      • DataSetDescriptor

        public DataSetDescriptor​(java.lang.String name)
    • Method Detail

      • dataSourceIds

        public java.lang.Iterable<java.lang.String> dataSourceIds()
      • getScheduleParameters

        public ScheduleParameters getScheduleParameters()
        Returns:
        the scheduleParams
      • addNonAggregateDataSource

        public void addNonAggregateDataSource​(java.lang.String id,
                                              java.lang.String className)
        Adds a NonAggregateDataSource by className. The specified class must implement NonAggregateDataSource.
        Parameters:
        className -
      • addAggregateDataSource

        public void addAggregateDataSource​(java.lang.String id,
                                           java.lang.String className)
        Adds an AggregateDataSource by className. The specified class must implementAggregateDataSource.
        Parameters:
        className -
      • removeCustomDataSource

        public void removeCustomDataSource​(java.lang.String id)
      • setScheduleParameters

        public void setScheduleParameters​(ScheduleParameters scheduleParams)
        Parameters:
        scheduleParams - the scheduleParams to set
      • includeTick

        public boolean includeTick()
        Returns:
        the inclTick
      • setIncludeTick

        public void setIncludeTick​(boolean inclTick)
        Parameters:
        inclTick - the inclTick to set
      • includeBatchRun

        public boolean includeBatchRun()
        Returns:
        the inclBatchRun
      • setIncludeBatchRun

        public void setIncludeBatchRun​(boolean inclBatchRun)
        Parameters:
        inclBatchRun - the inclBatchRun to set
      • includeRandomSeed

        public boolean includeRandomSeed()
        Returns:
        the inclRandomSeed
      • setIncludeRandomSeed

        public void setIncludeRandomSeed​(boolean inclRandomSeed)
        Parameters:
        inclRandomSeed - the inclRandomSeed to set
      • getSourceType

        public java.lang.String getSourceType()
        Returns:
        the targetType
      • setSourceType

        public void setSourceType​(java.lang.String sourceType)
      • isScheduleAtEnd

        public boolean isScheduleAtEnd()
      • setScheduleAtEnd

        public void setScheduleAtEnd​(boolean val)
      • addMethodDataSource

        public void addMethodDataSource​(java.lang.String id,
                                        java.lang.String className,
                                        java.lang.String methodName)
      • addAggregateMethodDataSource

        public void addAggregateMethodDataSource​(java.lang.String id,
                                                 java.lang.String className,
                                                 java.lang.String methodName,
                                                 AggregateOp aggType)
      • addCountDataSource

        public void addCountDataSource​(java.lang.String id,
                                       java.lang.String className)
      • removeMethodDataSource

        public void removeMethodDataSource​(java.lang.String id)
      • removeCountDataSource

        public void removeCountDataSource​(java.lang.String id)
      • clearCountDataSources

        public void clearCountDataSources()
      • clearMethodDataSources

        public void clearMethodDataSources()
      • clearCustomDataSources

        public void clearCustomDataSources()