Class DependencyDescriptor

java.lang.Object
org.moditect.model.DependencyDescriptor

public class DependencyDescriptor extends Object
  • Field Details

    • path

      private final Path path
    • optional

      private final boolean optional
    • originalModuleName

      private final String originalModuleName
      The original (automatic) module name of that dependency.
    • assignedModuleName

      private final String assignedModuleName
      The module name of that dependency as assigned during the current modularization build.
  • Constructor Details

    • DependencyDescriptor

      public DependencyDescriptor(Path path, boolean optional, String assignedModuleName)
  • Method Details

    • getAutoModuleNameFromInputJar

      public static String getAutoModuleNameFromInputJar(Path path, String invalidModuleName)
    • getPath

      public Path getPath()
    • isOptional

      public boolean isOptional()
    • getOriginalModuleName

      public String getOriginalModuleName()
    • getAssignedModuleName

      public String getAssignedModuleName()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object