Enum Class ImportOption.Predefined
- All Implemented Interfaces:
ImportOption
,Serializable
,Comparable<ImportOption.Predefined>
,Constable
- Enclosing interface:
- ImportOption
public static enum ImportOption.Predefined
extends Enum<ImportOption.Predefined>
implements ImportOption
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.importer.ImportOption
ImportOption.DoNotIncludeArchives, ImportOption.DoNotIncludeJars, ImportOption.DoNotIncludePackageInfos, ImportOption.DoNotIncludeTests, ImportOption.OnlyIncludeTests, ImportOption.Predefined
-
Enum Constant Summary
Enum ConstantDescriptionSince Java 9 there are JARs and JRTs, this will exclude both -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportOption.Predefined
Returns the enum constant of this class with the specified name.static ImportOption.Predefined[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tngtech.archunit.core.importer.ImportOption
includes
-
Enum Constant Details
-
DO_NOT_INCLUDE_TESTS
-
ONLY_INCLUDE_TESTS
-
DO_NOT_INCLUDE_JARS
-
DO_NOT_INCLUDE_ARCHIVES
Since Java 9 there are JARs and JRTs, this will exclude both -
DO_NOT_INCLUDE_PACKAGE_INFOS
- See Also:
-
-
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
-