Class AbstractOverrider

    • Constructor Detail

      • AbstractOverrider

        public AbstractOverrider()
    • Method Detail

      • removeOverride

        public void removeOverride​(Serializable key)
        Remove all registered labels from the key-label overrides for the given key.
        Parameters:
        key - The key for which all labels should be removed.
      • registerOverrides

        public void registerOverrides​(Serializable key,
                                      String... configLabels)
        Add the given labels to the label collection for the given key.
        Parameters:
        key - The key for which the labels should be added.
        configLabels - The labels to add.
      • registerOverrides

        public void registerOverrides​(Serializable key,
                                      List<String> configLabels)
        Add the given labels to the label collection for the given key.
        Parameters:
        key - The key for which the labels should be added.
        configLabels - The labels to add.
      • registerOverridesOnTop

        public void registerOverridesOnTop​(Serializable key,
                                           String... configLabels)
        Add the given labels on top of the label collection for the given key.
        Parameters:
        key - The key for which the labels should be added.
        configLabels - The labels to add.
      • registerOverridesOnTop

        public void registerOverridesOnTop​(Serializable key,
                                           List<String> configLabels)
        Add the given labels on top of the label collection for the given key.
        Parameters:
        key - The key for which the labels should be added.
        configLabels - The labels to add.
      • getOverrides

        public List<String> getOverrides​(Serializable key)
        Return the labels that are registered for the given key.
        Parameters:
        key - The key for which the labels are requested.
        Returns:
        The labels that are registered for the given key.
      • addOverrides

        public void addOverrides​(Map<Serializable,​List<String>> overrides)
        Adds the given map of key-label overrides to the override map of this overrider.
        Parameters:
        overrides - The key-label overrides to add.