Class BasicAlgorithmPolicyConfiguration

    • Constructor Detail

      • BasicAlgorithmPolicyConfiguration

        public BasicAlgorithmPolicyConfiguration()
        Constructor.
    • Method Detail

      • setIncludedAlgorithms

        public void setIncludedAlgorithms​(@Nullable
                                          Collection<String> uris)
        Set the list of included algorithm URIs.
        Parameters:
        uris - the list of algorithms
      • isIncludeMerge

        public boolean isIncludeMerge()
        Flag indicating whether to merge this configuration's includes with one of a lower order of precedence, or to treat this include collection as authoritative.

        Defaults to: false.

        Specified by:
        isIncludeMerge in interface AlgorithmPolicyConfiguration
        Returns:
        true if should merge, false otherwise
      • setIncludeMerge

        public void setIncludeMerge​(boolean flag)
        Set the flag indicating whether to merge this configuration's includes with one of a lower order of precedence, or to treat these includes as authoritative.

        Defaults to: false

        Parameters:
        flag - true if should merge, false otherwise
      • setExcludedAlgorithms

        public void setExcludedAlgorithms​(@Nullable
                                          Collection<String> uris)
        Set the list of excluded algorithm URIs.
        Parameters:
        uris - the list of algorithms
      • isExcludeMerge

        public boolean isExcludeMerge()
        Flag indicating whether to merge this configuration's excludes with one of a lower order of precedence, or to treat this exclude collection as authoritative.

        Defaults to: true.

        Specified by:
        isExcludeMerge in interface AlgorithmPolicyConfiguration
        Returns:
        true if should merge, false otherwise
      • setExcludeMerge

        public void setExcludeMerge​(boolean flag)
        Set the flag indicating whether to merge this configuration's excludes with one of a lower order of precedence, or to treat these excludes as authoritative.

        Defaults to: true

        Parameters:
        flag - true if should merge, false otherwise
      • setIncludeExcludePrecedence

        public void setIncludeExcludePrecedence​(@Nonnull
                                                AlgorithmPolicyConfiguration.Precedence value)
        Set preference value indicating which should take precedence when both includes and excludes are non-empty.
        Parameters:
        value - the precedence value