Enum AngelaProperties

    • Enum Constant Detail

      • KIT_INSTALLATION_DIR

        public static final AngelaProperties KIT_INSTALLATION_DIR
      • KIT_INSTALLATION_PATH

        public static final AngelaProperties KIT_INSTALLATION_PATH
      • ADDED_LOCAL_HOSTNAMES

        public static final AngelaProperties ADDED_LOCAL_HOSTNAMES
      • SSH_USERNAME_KEY_PATH

        public static final AngelaProperties SSH_USERNAME_KEY_PATH
      • SSH_STRICT_HOST_CHECKING

        public static final AngelaProperties SSH_STRICT_HOST_CHECKING
      • JAVA_RESOLVER

        public static final AngelaProperties JAVA_RESOLVER
        angela.java.resolver determines how Angela computes the JAVA_HOME env variable that it will set for all its sub-processes. The default value is toolchain.
        • toolchain: Angela will compute the JAVA_HOME by discovering paths in the Maven toolchain file, entries being filtered by angela.java.vendor and angela.java.version.
        • user: Angela will compute the JAVA_HOME by picking the value of angela.java.home which can be set by the user. If the user does not specify angela.java.home, then the java.home system property is used, which should be the JVM running the current code. angela.java.vendor and angela.java.version will not be used in this mode.
    • Method Detail

      • values

        public static AngelaProperties[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AngelaProperties c : AngelaProperties.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AngelaProperties valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getDefaultValue

        public String getDefaultValue()
      • getSpecifiedValue

        public String getSpecifiedValue()
      • getValue

        public String getValue()
      • getPropertyName

        public String getPropertyName()
      • setProperty

        public void setProperty​(String value)
      • clearProperty

        public void clearProperty()
      • getEitherOf

        public static String getEitherOf​(AngelaProperties recommended,
                                         AngelaProperties deprecated)
        Returns the value of either the recommended or the deprecated property if the former wasn't specified. Falls back to the default value of the new property if neither was specified.
        Parameters:
        recommended - the recommended property
        deprecated - the deprecated property
        Returns:
        the value of either the recommended, or the deprecated property. null if neither was specified and the default value of the new property is null.
      • getBooleanValue

        public boolean getBooleanValue()