Module kivakit.core

Class Properties

java.lang.Object
com.telenav.kivakit.core.vm.Properties

public class Properties extends Object
Provides access to system properties, environment variables and project properties
Author:
jonathanl (shibo)
  • Constructor Details

    • Properties

      public Properties()
  • Method Details

    • isPropertyFalse

      public static boolean isPropertyFalse(String key)
    • isPropertyTrue

      public static boolean isPropertyTrue(String key)
    • projectProperties

      public static VariableMap<String> projectProperties(Class<?> projectRoot)
      Returns a set of properties, including:
      Returns:
      All relevant properties for the given project root class (normally a Project or Application class).
    • property

      public static String property(String key)
    • property

      public static String property(String key, String defaultValue)