Enum StatementContext.Expression

    • Enum Constant Detail

      • DOMAIN_CONTROLLER

        public static final StatementContext.Expression DOMAIN_CONTROLLER
        Please note that this tuple might not always resolve to the domain controller. For some edge cases (e.g. when the current user is assigned to a host scoped role which is scoped to a secondary host), this tuple is resolved to the first host which was read during bootstrap. In any case it is resolved to an existing host.

        Address templates which use this tuple must be prepared that it does not always resolve to the domain controller.

    • Method Detail

      • values

        public static StatementContext.Expression[] 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 (StatementContext.Expression c : StatementContext.Expression.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StatementContext.Expression 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
      • resource

        public String resource()
      • expression

        public String expression()
        Returns:
        the name surrounded by "{" and "}"