Class DependencyGroup

java.lang.Object
org.savantbuild.dep.domain.DependencyGroup

public class DependencyGroup extends Object
This class defines a group of artifacts that the project depends on.
  • Field Details

    • dependencies

      public final List<Artifact> dependencies
    • export

      public final boolean export
    • name

      public final String name
  • Constructor Details

    • DependencyGroup

      public DependencyGroup(String name, boolean export, Artifact... dependencies) throws NullPointerException
      Constructs a Dependency group.
      Parameters:
      name - The name of the group (compile, run, etc).
      export - Whether this group is exported or not.
      dependencies - The initial dependencies of the group.
      Throws:
      NullPointerException - If the type parameter is null.
  • Method Details