View Javadoc

1   /***
2    * Copyright 2007 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *         http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * For more information visit
11   *         http://72miles.com and
12   *         http://architecturerules.googlecode.com/svn/docs/index.html
13   */
14  
15  package com.seventytwomiles.architecturerules.configuration.xml;
16  
17  
18  /***
19   * <p>Holds settings and paths for XML configuration.</p>
20   *
21   * @author mikenereson
22   */
23  class XmlConfiguration {
24  
25  
26      /***
27       * Cyclic dependency
28       */
29      public static final String cyclicalDependency
30              = "architecture/configuration/cyclicalDependency";
31  
32      /***
33       * Sources
34       * <pre>
35       * - configuration
36       *   - sources
37       *     - source
38       * </pre>
39       */
40      public static final String configuration = "architecture/configuration";
41      public static final String sources = "architecture/configuration/sources";
42  
43      public static final String source
44              = "architecture/configuration/sources/source";
45  
46      /***
47       * Rules
48       * <pre>
49       * - rules
50       *   - rule
51       *     - comment
52       *     - packages
53       *       - package
54       *     - violations
55       *       - violation
56       * </pre>
57       */
58      public static final String rules = "architecture/rules";
59      public static final String rule = "architecture/rules/rule";
60      public static final String ruleComment = "architecture/rules/rule/comment";
61  
62      public static final String rulePackages
63              = "architecture/rules/rule/packages";
64  
65      public static final String rulePackage
66              = "architecture/rules/rule/packages/package";
67  
68      public static final String ruleViolations
69              = "architecture/rules/rule/violations";
70  
71      public static final String ruleViolation
72              = "architecture/rules/rule/violations/violation";
73  }