Package org.jmolecules.archunit
Enum Class JMoleculesArchitectureRules.VerificationDepth
java.lang.Object
java.lang.Enum<JMoleculesArchitectureRules.VerificationDepth>
org.jmolecules.archunit.JMoleculesArchitectureRules.VerificationDepth
- All Implemented Interfaces:
Serializable,Comparable<JMoleculesArchitectureRules.VerificationDepth>,Constable
- Enclosing class:
- JMoleculesArchitectureRules
public static enum JMoleculesArchitectureRules.VerificationDepth
extends Enum<JMoleculesArchitectureRules.VerificationDepth>
Defines the depth of verification of Hexagonal Architectures, in particular the relationship between adapters and
the application core.
- Since:
- 0.25
- Author:
- Oliver Drotbohm
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllows access to non-port application code from primary and secondary adapters and ports.Allows access to non-port application code from secondary but not primary adapters and ports.Does not allow access to non-port application code from any adapters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LENIENT
Allows access to non-port application code from primary and secondary adapters and ports. Also, primary adapters are allowed to refer to secondary ports directly. -
SEMI_STRICT
Allows access to non-port application code from secondary but not primary adapters and ports. -
STRICT
Does not allow access to non-port application code from any adapters.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-