Class AlarmModeProperties<T>

    • Field Detail

      • OnEachEvaluation

        public static final AlarmModeProperties<java.lang.Boolean> OnEachEvaluation
        This is a special api setting that can be used with anychange to mean "go into alarm each evaluation", as in, each time a value is set.
      • MODE_PROPERTIES

        public static final java.util.Set<Property<?>> MODE_PROPERTIES
        All of the settings that only apply to a particular mode
    • Constructor Detail

      • AlarmModeProperties

        public AlarmModeProperties​(java.lang.String simpleName,
                                   java.lang.String displayNameKey,
                                   java.lang.Class<T> dtype,
                                   T defaultVal,
                                   boolean bindable)
      • AlarmModeProperties

        public AlarmModeProperties​(java.lang.String simpleName,
                                   java.lang.Class<T> dtype,
                                   T defaultVal,
                                   boolean bindable)
      • AlarmModeProperties

        public AlarmModeProperties​(java.lang.String simpleName,
                                   java.lang.Class<T> dtype,
                                   T defaultVal)
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Property
        The "name" of this property. Should be descriptive, but also unique. To this end, it is encouraged to make your keys fully qualified by prefixing them with your module id. For example: "mymod.MyProperty". Properties defined by the system start with "sys."
        Specified by:
        getName in interface Property<T>
        Overrides:
        getName in class WellKnownAlarmProperties<T>
      • getDisplayName

        public LocalizedString getDisplayName()
        Description copied from interface: DescriptiveProperty
        A friendly display name for the property. If not set, will return a raw LocalizedString that contains the property name.
      • getCategory

        public LocalizedString getCategory()
        Description copied from interface: DescriptiveProperty
        The category under which this property will be placed when editing.
      • getDescription

        public LocalizedString getDescription()
        Description copied from interface: DescriptiveProperty
        Optional description/documentation for the property. May return null if no information is available.
      • values

        public static Property<?>[] values()