public Builder withResourceType()

in src/main/java/org/apache/sling/scriptingbundle/plugin/capability/ProvidedResourceTypeCapability.java [158:164]


        public Builder withResourceType(@NotNull String resourceType) {
            if (StringUtils.isEmpty(resourceType)) {
                throw new IllegalArgumentException("The script's resourceType cannot be null or empty.");
            }
            resourceTypes.add(resourceType);
            return this;
        }