@JsonIgnore
    public Set<String> getExcludedTypes() {
        if (StringUtils.isBlank(exclude)) {
            return Collections.emptySet();
        } else {
            return Sets.newHashSet(
                    Arrays.asList(
                            StringUtils.split(exclude, ",")
                    ).stream()
                            .map(StringUtils::trim)
                            .collect(Collectors.toList())
            );
        }
    }
@ JsonIgnore public Set < String > getExcludedTypes ( ) { if ( StringUtils . isBlank ( exclude ) ) { return Collections . emptySet ( ) ; } else { return Sets . newHashSet ( Arrays . asList ( StringUtils . split ( exclude , "," ) ) . stream ( ) . map ( StringUtils :: trim ) . collect ( Collectors . toList ( ) ) ) ; } }
Parses the comma-separated list of excluded types.