Class ExecutableNormalizedOperationFactory.Options

    • Method Detail

      • maxChildrenDepth

        public ExecutableNormalizedOperationFactory.Options maxChildrenDepth​(int maxChildrenDepth)
        Controls the maximum depth of the operation. Can be used to prevent against malicious operations.
        Parameters:
        maxChildrenDepth - the max depth
        Returns:
        new options object to use
      • maxFieldsCount

        public ExecutableNormalizedOperationFactory.Options maxFieldsCount​(int maxFieldsCount)
        Controls the maximum number of ENFs created. Can be used to prevent against malicious operations.
        Parameters:
        maxFieldsCount - the max number of ENFs created
        Returns:
        new options object to use
      • getLocale

        public java.util.Locale getLocale()
        Returns:
        locale to use during operation parsing
        See Also:
        locale(Locale)
      • getMaxChildrenDepth

        public int getMaxChildrenDepth()
        Returns:
        maximum children depth before aborting parsing
        See Also:
        maxChildrenDepth(int)
      • getMaxFieldsCount

        public int getMaxFieldsCount()