java.lang.Object
de.sormuras.bach.Project.Source
- Enclosing class:
- Project
public static class Project.Source
extends java.lang.Object
Single source path with optional release directive.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProject.Source.FlagSource-specific flag. -
Field Summary
Fields Modifier and Type Field Description java.util.Set<Project.Source.Flag>flagsOptional flags.java.nio.file.PathpathSource path.intreleaseJava feature release target number, with zero indicating the current runtime release. -
Constructor Summary
Constructors Constructor Description Source(java.nio.file.Path path, int release, java.util.Set<Project.Source.Flag> flags) -
Method Summary
Modifier and Type Method Description booleanisTargeted()booleanisVersioned()static Project.Sourceof(java.nio.file.Path path)Create default non-targeted source for the specified path.static Project.Sourceof(java.nio.file.Path path, int release, Project.Source.Flag... flags)Create targeted source for the specified path, the release, and optional flags.
-
Field Details
-
Constructor Details
-
Method Details
-
of
Create default non-targeted source for the specified path. -
of
public static Project.Source of(java.nio.file.Path path, int release, Project.Source.Flag... flags)Create targeted source for the specified path, the release, and optional flags. -
isTargeted
public boolean isTargeted() -
isVersioned
public boolean isVersioned()
-