public static final class MultiModuleNodeFactory.Builder extends Object
MultiModuleNodeFactory
.@NonNull public MultiModuleNodeFactory.Builder setSources(@NonNull SourceRoots sourceModules, @NonNull SourceRoots srcRoots)
sourceModules
- the module rootssrcRoots
- the source rootsMultiModuleNodeFactory.Builder
@NonNull public MultiModuleNodeFactory.Builder setTests(@NonNull SourceRoots testModules, @NonNull SourceRoots testRoots)
testModules
- the module rootstestRoots
- the source rootsMultiModuleNodeFactory.Builder
@NonNull public MultiModuleNodeFactory.Builder addLibrariesNodes()
MultiModuleNodeFactory.Builder
@NonNull public MultiModuleNodeFactory.Builder addLibrariesNodeActions(@NonNull Action... actions)
Action
is an instance of ContextAwareAction
the Lookup
with source path is injected into the Action
.
The source path can be used to identify actual module of an multi module project.actions
- the Action
s to addMultiModuleNodeFactory.Builder
@NonNull public MultiModuleNodeFactory.Builder addTestLibrariesNodeActions(@NonNull Action... actions)
Action
is an instance of ContextAwareAction
the Lookup
with source path is injected into the Action
.
The source path can be used to identify actual module of an multi module project.actions
- the Action
s to addMultiModuleNodeFactory.Builder
@NonNull public MultiModuleNodeFactory.Builder setAnnotationProcessorsGeneratedSourcesProperty(@NonNull String propName)
ProjectProperties.ANNOTATION_PROCESSING_SOURCE_OUTPUT
propName
- the name of the property.MultiModuleNodeFactory.Builder
@NonNull public MultiModuleNodeFactory build()
MultiModuleNodeFactory
.MultiModuleNodeFactory
instance@NonNull public static MultiModuleNodeFactory.Builder create(@NonNull UpdateHelper helper, @NonNull PropertyEvaluator eval, @NonNull ReferenceHelper refHelper)
MultiModuleNodeFactory.Builder
.helper
- the UpdateHelper
eval
- the PropertyEvaluator
refHelper
- the ReferenceHelper
MultiModuleNodeFactory.Builder