在 AEM 中禁用 Sling 过滤器的参数
Parameter to disable Sling filter in AEM
我创建了一个 sling 过滤器。下面是一个片段 -
@SlingFilter(label = "My filter", description = "Myfilter", metatype = true, generateComponent = true, generateService = true, order = 0, scope = SlingFilterScope.INCLUDE)
public class SlingInoFilter implements Filter {
}
当我部署我的代码时,我希望部署此过滤器但处于禁用状态。这可以实现吗?
我创建了一个 sling 过滤器。下面是一个片段 -
@SlingFilter(label = "My filter", description = "Myfilter", metatype = true, generateComponent = true, generateService = true, order = 0, scope = SlingFilterScope.INCLUDE)
public class SlingInoFilter implements Filter {
}
当我部署我的代码时,我希望部署此过滤器但处于禁用状态。这可以实现吗?