Package io.quarkus.bootstrap.workspace
Class DefaultWorkspaceModule
- java.lang.Object
-
- io.quarkus.bootstrap.workspace.DefaultWorkspaceModule
-
- All Implemented Interfaces:
WorkspaceModule,Serializable
public class DefaultWorkspaceModule extends Object implements WorkspaceModule, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDefaultWorkspaceModule.Builder-
Nested classes/interfaces inherited from interface io.quarkus.bootstrap.workspace.WorkspaceModule
WorkspaceModule.Mutable
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkspaceModule(WorkspaceModuleId id, File moduleDir, File buildDir)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultWorkspaceModule.Builderbuilder()Collection<String>getAdditionalTestClasspathElements()FilegetBuildDir()PathCollectiongetBuildFiles()Collection<Dependency>getDirectDependencies()Collection<Dependency>getDirectDependencyConstraints()WorkspaceModuleIdgetId()FilegetModuleDir()WorkspaceModulegetParent()Collection<String>getSourceClassifiers()ArtifactSourcesgetSources(String name)Collection<String>getTestClasspathDependencyExclusions()booleanhasSources(String classifier)WorkspaceModule.Mutablemutable()voidsetBuildFiles(PathCollection buildFiles)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.bootstrap.workspace.WorkspaceModule
getContentTree, getMainSources, getTestSources, hasMainSources, hasTestSources
-
-
-
-
Constructor Detail
-
DefaultWorkspaceModule
public DefaultWorkspaceModule(WorkspaceModuleId id, File moduleDir, File buildDir)
-
-
Method Detail
-
builder
public static DefaultWorkspaceModule.Builder builder()
-
getId
public WorkspaceModuleId getId()
- Specified by:
getIdin interfaceWorkspaceModule
-
getModuleDir
public File getModuleDir()
- Specified by:
getModuleDirin interfaceWorkspaceModule
-
getBuildDir
public File getBuildDir()
- Specified by:
getBuildDirin interfaceWorkspaceModule
-
hasSources
public boolean hasSources(String classifier)
- Specified by:
hasSourcesin interfaceWorkspaceModule
-
getSources
public ArtifactSources getSources(String name)
- Specified by:
getSourcesin interfaceWorkspaceModule
-
getSourceClassifiers
public Collection<String> getSourceClassifiers()
- Specified by:
getSourceClassifiersin interfaceWorkspaceModule
-
setBuildFiles
public void setBuildFiles(PathCollection buildFiles)
-
getBuildFiles
public PathCollection getBuildFiles()
- Specified by:
getBuildFilesin interfaceWorkspaceModule
-
getDirectDependencyConstraints
public Collection<Dependency> getDirectDependencyConstraints()
- Specified by:
getDirectDependencyConstraintsin interfaceWorkspaceModule
-
getDirectDependencies
public Collection<Dependency> getDirectDependencies()
- Specified by:
getDirectDependenciesin interfaceWorkspaceModule
-
getTestClasspathDependencyExclusions
public Collection<String> getTestClasspathDependencyExclusions()
- Specified by:
getTestClasspathDependencyExclusionsin interfaceWorkspaceModule
-
getAdditionalTestClasspathElements
public Collection<String> getAdditionalTestClasspathElements()
- Specified by:
getAdditionalTestClasspathElementsin interfaceWorkspaceModule
-
getParent
public WorkspaceModule getParent()
- Specified by:
getParentin interfaceWorkspaceModule
-
mutable
public WorkspaceModule.Mutable mutable()
- Specified by:
mutablein interfaceWorkspaceModule
-
-