Enum Class NamingTarget

java.lang.Object
java.lang.Enum<NamingTarget>
dev.archunitjava.rules.NamingTarget
All Implemented Interfaces:
Serializable, Comparable<NamingTarget>, Constable

public enum NamingTarget extends Enum<NamingTarget>
Distinct Java naming and provenance values; each has one required pattern domain.
  • Enum Constant Details

    • SIMPLE_NAME

      public static final NamingTarget SIMPLE_NAME
    • BINARY_NAME

      public static final NamingTarget BINARY_NAME
    • PACKAGE_NAME

      public static final NamingTarget PACKAGE_NAME
    • SOURCE_FILE

      public static final NamingTarget SOURCE_FILE
    • CLASS_RESOURCE

      public static final NamingTarget CLASS_RESOURCE
    • ARTIFACT_CONTAINER

      public static final NamingTarget ARTIFACT_CONTAINER
  • Method Details

    • values

      public static NamingTarget[] 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

      public static NamingTarget valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • patternDomain

      public PatternDomain patternDomain()