Class ParameterRegistry

java.lang.Object
de.clickism.configured.localization.ParameterRegistry

public class ParameterRegistry extends Object
Class used to access parameters defined with the Parameters annotation.
  • Method Details

    • getParameters

      public static String[] getParameters(LocalizationKey key)
      Gets the parameters associated with a given localization key.

      This method will register/cache all fields annotated with the Parameters annotation in the parent class of the given key.

      Parameters:
      key - the localization key for which to retrieve parameters
      Returns:
      an array of parameters associated with the key