java.lang.Object
de.sormuras.bach.Project.ModuleUnit
- Enclosing class:
- Project
public static class Project.ModuleUnit
extends java.lang.Object
Java module source unit.
-
Field Summary
Fields Modifier and Type Field Description Project.ModuleInfoinfoSource-based module reference.java.nio.file.PathmavenPomPath to the associated Maven POM file.java.util.List<java.nio.file.Path>resourcesPaths to the resource directories.java.util.List<Project.Source>sourcesPaths to the source directories. -
Constructor Summary
Constructors Constructor Description ModuleUnit(Project.ModuleInfo info, java.util.List<Project.Source> sources, java.util.List<java.nio.file.Path> resources, java.nio.file.Path mavenPom) -
Method Summary
Modifier and Type Method Description booleanisMultiRelease()java.util.Optional<java.nio.file.Path>mavenPom()java.lang.Stringname()static Project.ModuleUnitof(java.nio.file.Path path)Create default unit for the specified path.java.lang.Stringpath()
-
Field Details
-
Constructor Details
-
ModuleUnit
public ModuleUnit(Project.ModuleInfo info, java.util.List<Project.Source> sources, java.util.List<java.nio.file.Path> resources, java.nio.file.Path mavenPom)
-
-
Method Details
-
of
Create default unit for the specified path. -
isMultiRelease
public boolean isMultiRelease() -
name
public java.lang.String name() -
path
public java.lang.String path() -
mavenPom
public java.util.Optional<java.nio.file.Path> mavenPom()
-