Class InstrumentSelector


  • @Immutable
    public abstract class InstrumentSelector
    extends java.lang.Object
    Provides means for selecting one ore more Instruments. Used for configuring aggregations for the specified instruments.

    There are two options for selecting instruments: by instrument name and by instrument type.

    • Constructor Detail

      • InstrumentSelector

        public InstrumentSelector()
    • Method Detail

      • instrumentType

        @Nullable
        public abstract InstrumentType instrumentType()
        Returns InstrumentType that should be selected. If null, then this specifier will not be used.
      • instrumentNameRegex

        @Nullable
        public abstract java.lang.String instrumentNameRegex()
        Returns which instrument names should be selected. This is a regex. If null, then this specifier will not be used.
      • instrumentNamePattern

        @Nullable
        @Memoized
        public java.util.regex.Pattern instrumentNamePattern()
        Returns the Pattern generated by the provided instrumentNameRegex(), or null if none was specified.
      • hasInstrumentType

        public boolean hasInstrumentType()
        Returns whether the InstrumentType been specified.
      • hasInstrumentNameRegex

        public boolean hasInstrumentNameRegex()
        Returns whether the instrument name regex been specified.