/** * Creates a line. */ public void line() { line(0); }
/** * Creates the opening line. */ public void title() { title(null); }
public String toString() { InfoWriter iw = new InfoWriter(); iw.title("Checksum Generator Options"); iw.message("Node Type Includes: {}", this.getIncludedNodeTypes()); iw.message("Node Type Excludes: {}", this.getExcludedNodeTypes()); iw.message("Property Excludes: {}", this.getExcludedProperties()); iw.message("Sorted Properties: {}", this.getSortedProperties()); return iw.toString(); } }
public String toString() { InfoWriter iw = new InfoWriter(); iw.title("Checksum Generator Options"); iw.message("Node Type Includes: {}", this.getIncludedNodeTypes()); iw.message("Node Type Excludes: {}", this.getExcludedNodeTypes()); iw.message("Property Excludes: {}", this.getExcludedProperties()); iw.message("Node Name Excludes: {}", this.getExcludedNodeNames()); iw.message("Sub Tree Excludes: {}", this.getExcludedSubTrees()); iw.message("Sorted Properties: {}", this.getSortedProperties()); return iw.toString(); } }
@Activate protected void activate(final Map<String, Object> config) { supportMultiLevel = PropertiesUtil.toBoolean(config.get(PROP_SUPPORT_MULTI_LEVEL), DEFAULT_SUPPORT_MULTI_LEVEL); // Property Names namespaceablePropertyNames = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_NAMES), DEFAULT_NAMESPACEABLE_PROPERTY_NAMES); // Property Value Patterns namespaceablePropertyValuePatterns = new ArrayList<Pattern>(); String[] regexes = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS), DEFAULT_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS); for (final String regex : regexes) { namespaceablePropertyValuePatterns.add(Pattern.compile(regex)); } final InfoWriter iw = new InfoWriter(); iw.title("ACS AEM Commons - CQInclude Property Namespace Servlet"); iw.message("Namespace-able Property Names: {}", Arrays.asList(namespaceablePropertyNames)); iw.message("Namespace-able Property Value Patterns: {}", namespaceablePropertyValuePatterns); iw.end(); log.info(iw.toString()); }
/** * Creates the closing line. */ public void end() { this.line(); }
/** * Creates the opening line. */ public void title() { title(null); }
@Activate protected void activate(final Map<String, Object> config) { supportMultiLevel = PropertiesUtil.toBoolean(config.get(PROP_SUPPORT_MULTI_LEVEL), DEFAULT_SUPPORT_MULTI_LEVEL); // Property Names namespaceablePropertyNames = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_NAMES), DEFAULT_NAMESPACEABLE_PROPERTY_NAMES); // Property Value Patterns namespaceablePropertyValuePatterns = new ArrayList<Pattern>(); String[] regexes = PropertiesUtil.toStringArray(config.get(PROP_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS), DEFAULT_NAMESPACEABLE_PROPERTY_VALUE_PATTERNS); for (final String regex : regexes) { namespaceablePropertyValuePatterns.add(Pattern.compile(regex)); } final InfoWriter iw = new InfoWriter(); iw.title("ACS AEM Commons - CQInclude Property Namespace Servlet"); iw.message("Namespace-able Property Names: {}", Arrays.asList(namespaceablePropertyNames)); iw.message("Namespace-able Property Value Patterns: {}", namespaceablePropertyValuePatterns); iw.end(); log.info(iw.toString()); }
/** * Creates a line. */ public void line() { line(0); }
final InfoWriter iw = new InfoWriter(); iw.title("Workflow Instance Removal Configuration"); iw.message("Workflow status: {}", statuses); iw.message("Workflow models: {}", models); iw.message("Payloads: {}", Arrays.asList(payloadsArray)); iw.message("Older than: {}", olderThan); iw.message("Batch size: {}", batchSize); iw.message("Max Duration (minutes): {}", maxDuration); iw.end(); log.info(iw.toString());
/** * Creates the closing line. */ public void end() { this.line(); }
final InfoWriter iw = new InfoWriter(); iw.title("Workflow Instance Removal Configuration"); iw.message("Workflow status: {}", statuses); iw.message("Workflow models: {}", models); iw.message("Payloads: {}", Arrays.asList(payloadsArray)); iw.message("Older than: {}", olderThan); iw.message("Batch size: {}", batchSize); iw.message("Max Duration (minutes): {}", maxDuration); iw.end(); log.info(iw.toString());
InfoWriter iw = new InfoWriter(); iw.title("ACS AEM Commons - Error Page Handler 404 Handling"); iw.message("Status code: {}", this.getStatusCode(request)); iw.message("Is anonymous: {}", isAnonymousRequest(request)); iw.message("Is browser request: {}", AuthUtil.isBrowserRequest(request)); iw.message("Is redirect to login page: {}", this.isRedirectToLogin(path)); iw.message("Default 404 Behavior: {}", this.notFoundBehavior); iw.line(); log.debug(iw.toString());
InfoWriter iw = new InfoWriter(); iw.title("ACS AEM Commons - Error Page Handler 404 Handling"); iw.message("Status code: {}", this.getStatusCode(request)); iw.message("Is anonymous: {}", isAnonymousRequest(request)); iw.message("Is browser request: {}", AuthUtil.isBrowserRequest(request)); iw.message("Is redirect to login page: {}", this.isRedirectToLogin(path)); iw.message("Default 404 Behavior: {}", this.notFoundBehavior); iw.line(); log.debug(iw.toString());