Interface BuildSpecification.SourceSpec
- All Known Implementing Classes:
BuildSpecification.SourceSpec.Module
,BuildSpecification.SourceSpec.Submodule
- Enclosing class:
BuildSpecification
public static sealed interface BuildSpecification.SourceSpec
permits BuildSpecification.SourceSpec.Module, BuildSpecification.SourceSpec.Submodule
Specification of how a source should be processed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
Specification of how amodule
source should be processed.static final record
Specification of how asubmodule
source should be processed. -
Method Summary
Modifier and TypeMethodDescriptioninfo()
Return theSourceInfo
aboutstream()
.stream()
Return theStatementStreamSource
of this source.
-
Method Details
-
info
SourceInfo info()Return theSourceInfo
aboutstream()
.- Returns:
- the
SourceInfo
-
stream
StatementStreamSource stream()Return theStatementStreamSource
of this source.- Returns:
- the
StatementStreamSource
of this source
-