Class ConfigurationHelper

java.lang.Object
org.apache.activemq.artemis.utils.ConfigurationHelper

public class ConfigurationHelper extends Object
  • Constructor Details

    • ConfigurationHelper

      public ConfigurationHelper()
  • Method Details

    • getStringProperty

      public static String getStringProperty(String propName, String def, Map<String,?> props)
    • getIntProperty

      public static int getIntProperty(String propName, int def, Map<String,?> props)
    • getLongProperty

      public static long getLongProperty(String propName, long def, Map<String,?> props)
    • getBooleanProperty

      public static boolean getBooleanProperty(String propName, boolean def, Map<String,?> props)
    • checkKeys

      public static Set<String> checkKeys(Set<String> allowableKeys, Set<String> keys)
    • checkKeysExist

      public static Set<String> checkKeysExist(Set<String> requiredKeys, Set<String> keys)
    • stringSetToCommaListString

      public static String stringSetToCommaListString(Set<String> invalid)
    • getPasswordProperty

      public static String getPasswordProperty(String propName, String def, Map<String,?> props, String defaultMaskPassword, String defaultPasswordCodec)
    • getDoubleProperty

      public static double getDoubleProperty(String name, double def, Map<String,?> props)