Class ExcludeTraits.Config

  • Enclosing class:
    ExcludeTraits

    public static final class ExcludeTraits.Config
    extends java.lang.Object
    excludeTraits configuration settings.
    • Constructor Summary

      Constructors 
      Constructor Description
      Config()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getTraits()
      Gets the list of trait shape IDs/namespaces to exclude.
      void setTraits​(java.util.Set<java.lang.String> traits)
      Sets the list of trait shape IDs/namespaces to exclude.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • getTraits

        public java.util.Set<java.lang.String> getTraits()
        Gets the list of trait shape IDs/namespaces to exclude.
        Returns:
        shape IDs to exclude.
      • setTraits

        public void setTraits​(java.util.Set<java.lang.String> traits)
        Sets the list of trait shape IDs/namespaces to exclude.

        Relative shape IDs are considered traits in the prelude namespace, smithy.api. Strings ending in "#" are used to exclude traits from an entire namespace.

        Parameters:
        traits - Traits to exclude.