Class IncludeTraits.Config

Enclosing class:

public static final class IncludeTraits.Config extends Object
includeTraits configuration settings.
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • getTraits

      public Set<String> getTraits()
      Gets the list of trait shape IDs to include.
      shape IDs to include.
    • setTraits

      public void setTraits(Set<String> traits)
      Sets the list of trait shape IDs to include.

      End an argument with "#" to include the traits from an entire namespace. Trait shape IDs that are relative are assumed to be part of the smithy.api prelude namespace.

      traits - Traits to include.