|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.seventytwomiles.architecturerules.configuration.Configuration
com.seventytwomiles.architecturerules.configuration.UnmodifiableConfiguration
public final class UnmodifiableConfiguration
An UnmodifiableConfiguration is a Configuration instance
whose setters and collections are unavailable or unmodifiable.
| Constructor Summary | |
|---|---|
UnmodifiableConfiguration(Configuration configuration)
Instantiates a new unmodifiable configuration class. |
|
| Method Summary | |
|---|---|
Collection<Rule> |
getRules()
Getter for property Configuration.rules. |
Collection<SourceDirectory> |
getSources()
Getter for property Configuration.sources. |
UnmodifiableConfiguration |
setDoCyclicDependencyTest(boolean doCyclicDependencyTest)
Setter for property Configuration.doCyclicDependencyTest. |
UnmodifiableConfiguration |
setThrowExceptionWhenNoPackages(boolean throwExceptionWhenNoPackages)
Setter for property Configuration.throwExceptionWhenNoPackages. |
| Methods inherited from class com.seventytwomiles.architecturerules.configuration.Configuration |
|---|
addRule, addSource, shouldDoCyclicDependencyTest, shouldThrowExceptionWhenNoPackages |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnmodifiableConfiguration(Configuration configuration)
Instantiates a new unmodifiable configuration class.
configuration - Configuration to offer as unmodifiable| Method Detail |
|---|
public Collection<Rule> getRules()
Getter for property Configuration.rules.
getRules in class Configurationpublic Collection<SourceDirectory> getSources()
Getter for property Configuration.sources.
getSources in class Configurationpublic UnmodifiableConfiguration setDoCyclicDependencyTest(boolean doCyclicDependencyTest)
Setter for property Configuration.doCyclicDependencyTest.
setDoCyclicDependencyTest in class ConfigurationdoCyclicDependencyTest - Value to set for property doCyclicDependencyTest.
Configuration which allows for
method chainingpublic UnmodifiableConfiguration setThrowExceptionWhenNoPackages(boolean throwExceptionWhenNoPackages)
Setter for property Configuration.throwExceptionWhenNoPackages.
setThrowExceptionWhenNoPackages in class ConfigurationthrowExceptionWhenNoPackages - Value to set for property
throwExceptionWhenNoPackages.
Configuration which allows for
method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||