public static final class ExcludeTraits.Config
extends java.lang.Object
excludeTraits
configuration settings.Constructor and Description |
---|
Config() |
Modifier and Type | Method and 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.
|
public java.util.Set<java.lang.String> getTraits()
public void setTraits(java.util.Set<java.lang.String> traits)
Relative shape IDs are considered traits in the prelude
namespace, smithy.api
. Strings ending in "#" are
used to exclude traits from an entire namespace.
traits
- Traits to exclude.