Class ComputedPropertiesUtils

java.lang.Object
com.redhat.cloud.common.clowder.configsource.utils.ComputedPropertiesUtils

public final class ComputedPropertiesUtils extends Object
Utilities to find computed properties. Computed properties are properties that depend on others. For example: other.property=value-a computed.property=${other.property:value-b} In the above example, the "computed-property" is resolved with either "other.property" if exists or "value-b" if it does not.
  • Field Details

  • Method Details

    • hasComputedProperties

      public static boolean hasComputedProperties(String rawValue)
    • getPropertyFromSystem

      public static String getPropertyFromSystem(String propertyName, String defaultValue)
    • getComputedProperties

      public static List<String> getComputedProperties(String str)