Class Profile.DnParameter

  • Enclosing class:
    Profile

    public final class Profile.DnParameter
    extends Profile.Parameter<Profile.DnParameter,​Dn>
    Represents a parameter whose value is associated to a bind DN property in server configuration.

    Note: Usage of CharSequence instead of string is a hack to the following compilation error: Methods defaultValue(T) from Profile.Parameter and defaultValue(String) from Parameter are inherited with the same signature.

    • Method Detail

      • parseStringValue

        public Dn parseStringValue​(String strValue)
                            throws com.forgerock.opendj.cli.ArgumentException
        Description copied from class: Profile.Parameter
        Parses provided string value into this parameter type and returns the typed value.
        Specified by:
        parseStringValue in class Profile.Parameter<Profile.DnParameter,​Dn>
        Parameters:
        strValue - A string representing the parameter value to be parsed
        Returns:
        The typed value associated to provided string
        Throws:
        com.forgerock.opendj.cli.ArgumentException - If an error occurred while parsing provided string value