Class InstrumentSelector

    • Constructor Detail

      • InstrumentSelector

        InstrumentSelector()
    • Method Detail

      • create

        static InstrumentSelector create​(@Nullable
                                         InstrumentType instrumentType,
                                         @Nullable
                                         java.lang.String instrumentName,
                                         @Nullable
                                         java.lang.String instrumentUnit,
                                         @Nullable
                                         java.lang.String meterName,
                                         @Nullable
                                         java.lang.String meterVersion,
                                         @Nullable
                                         java.lang.String meterSchemaUrl)
      • getInstrumentType

        @Nullable
        public abstract InstrumentType getInstrumentType()
        Returns the selected InstrumentType, or null if this selects all instrument types.
      • getInstrumentName

        @Nullable
        public abstract java.lang.String getInstrumentName()
        Returns the selected instrument name, or null if this selects all instrument names.

        Instrument name may contain the wildcard characters * and ? with the following matching criteria:

        • * matches 0 or more instances of any character
        • ? matches exactly one instance of any character
      • getInstrumentUnit

        @Nullable
        public abstract java.lang.String getInstrumentUnit()
        Returns the selected instrument unit, or null if this selects all instrument units.
        Since:
        1.24.0
      • getMeterName

        @Nullable
        public abstract java.lang.String getMeterName()
        Returns the selected meter name, or null if this selects instruments from all meter names.
      • getMeterVersion

        @Nullable
        public abstract java.lang.String getMeterVersion()
        Returns the selected meter version, or null if this selects instruments from all meter versions.
      • getMeterSchemaUrl

        @Nullable
        public abstract java.lang.String getMeterSchemaUrl()
        Returns the selected meter schema url, or null if this selects instruments from all meter schema urls.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object