@AttributeDefinition( name = "Service Ranking", description = "The Service Ranking value acts as the priority with which this Use Provider is queried to return an " +
public @interface Config { @AttributeDefinition(description = "Exclude all client library categories") boolean exclude_all(); @AttributeDefinition(description = "Client Library Categories", defaultValue = {CATEGORY_LIMIT, CATEGORY_PLACEHOLDER}) String[] categories() default {CATEGORY_LIMIT, CATEGORY_PLACEHOLDER};
@Component(property = { "webconsole.configurationFactory.nameHint" + "=" + "Expires Daily at: {expires.time} for Patterns: [{filter.pattern}]", }, factory = "com.adobe.acs.commons.http.headers.impl.DailyExpiresHeaderFilter", configurationPolicy = ConfigurationPolicy.REQUIRE) @Designate(ocd = DailyExpiresHeaderFilter.Config.class, factory=true) // @formatter:on public class DailyExpiresHeaderFilter extends AbstractExpiresHeaderFilter { @ObjectClassDefinition(name = "ACS AEM Commons - Dispatcher Expires Header - Daily", description = "Adds an Expires header to content to enable Dispatcher TTL support.") public @interface Config { @AttributeDefinition(name = "Filter Patterns", description = "Patterns on which to apply this Expires rule.", cardinality = Integer.MAX_VALUE) String[] filter_pattern(); @AttributeDefinition(name = "Expires Time", description = "Time each day at which resources will expire. Must match SimpleDateFormat of 'HH:mm'.") String expires_time(); } @Override protected void adjustExpires(Calendar next) { if (next.before(Calendar.getInstance())) { next.add(Calendar.DAY_OF_MONTH, 1); } } }
String DEFAULT_PATH = "/"; @AttributeDefinition(defaultValue = ""+ DEFAULT_SERVICE_RANKING) int service_ranking() default DEFAULT_SERVICE_RANKING; @AttributeDefinition(defaultValue = DEFAULT_PATH) String path() default DEFAULT_PATH; @AttributeDefinition String okta_host_name(); @AttributeDefinition String from_uri();
public @interface Config { @AttributeDefinition(name = "HTTP Proxy Host", description = "HTTP Proxy Host, leave blank for none") String http_proxy_host(); @AttributeDefinition(name = "HTTP Proxy Port", description = "HTTP Proxy Port, leave 0 for none", defaultValue = "0") int http_proxy_port(); @AttributeDefinition(name = "Use SSL", description = "Use SSL Connections", defaultValue = ""+DEFAULT_USE_SSL) boolean use_ssl();
@AttributeDefinition(description = "Exclude all client library categories") boolean exclude_all(); @AttributeDefinition(description = "Client Library Categories", defaultValue = {CATEGORY_LIMIT, CATEGORY_PLACEHOLDER}) String[] categories();
description = "Have a look at the evolution of a resource on a property/resource level.") public @interface Config { @AttributeDefinition(name = "Ignored property names", description = "Property names (regex possible) listed here will be excluded from the version compare feature.", defaultValue = { "(.*/)?jcr:uuid", "(.*/)?(cq|jcr):lastModified", "(.*/)?(cq|jcr):lastModifiedBy", "(.*/)?jcr:frozenUuid", "(.*/)?jcr:primaryType", "(.*/)?jcr:frozenPrimaryType" }, cardinality = Integer.MAX_VALUE) String[] properties_ignore() default {"(.*/)?jcr:uuid", "(.*/)?(cq|jcr):lastModified", "(.*/)?(cq|jcr):lastModifiedBy", "(.*/)?jcr:frozenUuid", "(.*/)?jcr:primaryType", "(.*/)?jcr:frozenPrimaryType"}; @AttributeDefinition(name = "Ignored resource names", description = "Resource names (regex possible) listed here will be excluded from the version compare feature.", cardinality = Integer.MAX_VALUE)
static @interface Config { @AttributeDefinition(name = "Enabled", description = "Enable this override provider.") boolean enabled() default false; @AttributeDefinition(name = "Header Name", description = "Name of the request header to get override strings from. Can be present multiple times.") String headerName() default "wcmio.caconfig.override"; @AttributeDefinition(name = "Service Ranking", description = "Priority of configuration override providers (higher = higher priority).") int service_ranking() default 300;
description = "Adds a Cache-Control max-age header to content to enable Dispatcher TTL support.") public @interface Config { @AttributeDefinition(name = "Cache-Control Max Age", description = "Max age value (in seconds) to put in Cache Control header.") int max_age(); @AttributeDefinition(name = "Filter Patterns", description = "Patterns on which to apply this Max Age cache-control rule.", cardinality = Integer.MAX_VALUE)
@AttributeDefinition( name = "Writer groups", description = "Writer groups for which commits are tracked individually"
description = "Provides functionality for routing ACS AEM Commons FORM Requests through AEM.") public @interface Config { @AttributeDefinition(name = "Forms Suffix", description = "HTTP Request Suffix used to identify ACS AEM Commons Forms POST Requests and route them " + "appropriately. [ Default: /submit/form ]",
/** * Editor configuration */ @Component(service = EditorConfig.class) @Designate(ocd = EditorConfig.Config.class) public class EditorConfig { @ObjectClassDefinition(name = "wcm.io Context-Aware Configuration Editor", description = "Configure the Editor for Apache Sling Context-Aware Configuration.") @interface Config { @AttributeDefinition(description = "Enable the Configuration Editor and HTTP APIs.") boolean enabled() default true; } private boolean enabled; @Activate private void activate(Config config) { this.enabled = config.enabled(); } public boolean isEnabled() { return this.enabled; } }
description = "Schedule job which refreshes Twitter Feed components on a recurring basis") public @interface Config { @AttributeDefinition( defaultValue = "0 0/15 * * * ?", name = "Refresh Interval", description = "Twitter Feed Refresh interval (Quartz Cron Expression)") String scheduler_expression();
@AttributeDefinition( name = "Path", description = "Local file system path where extracted text is stored in files."
description = "Watches for the configured JCR paths and triggers cache invalidation job.") public @interface Config { @AttributeDefinition(name = "JCR paths to watch for changes.", defaultValue = "(|(" + SlingConstants.PROPERTY_PATH + "=" + "/content*)(" + SlingConstants.PROPERTY_PATH + "=" + "/etc*))",
@AttributeDefinition( name = "Path", description = "Local file system path where extracted text is stored in files."
@AttributeDefinition(name = "Disabled components", description = "The names of the components/services you want to disable", cardinality = Integer.MAX_VALUE) String[] components();
@AttributeDefinition( name = "Path", description = "Local file system path where extracted text is stored in files."
@AttributeDefinition(defaultValue= {HISTORY, FONTS, COLORANTS, LOCATION },name="Components", description="Map in the form <propertyName>=<replacement path>") String[] components() default { HISTORY, FONTS, COLORANTS, LOCATION };
@AttributeDefinition( name="Sling Servlet Paths", description="Paths that this servlet will resolve to"