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 class
DefaultWorkspaceModule.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.Builder
builder()
Collection<String>
getAdditionalTestClasspathElements()
File
getBuildDir()
PathCollection
getBuildFiles()
Collection<Dependency>
getDirectDependencies()
Collection<Dependency>
getDirectDependencyConstraints()
WorkspaceModuleId
getId()
File
getModuleDir()
WorkspaceModule
getParent()
Collection<String>
getSourceClassifiers()
ArtifactSources
getSources(String name)
Collection<String>
getTestClasspathDependencyExclusions()
boolean
hasSources(String classifier)
WorkspaceModule.Mutable
mutable()
void
setBuildFiles(PathCollection buildFiles)
String
toString()
-
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:
getId
in interfaceWorkspaceModule
-
getModuleDir
public File getModuleDir()
- Specified by:
getModuleDir
in interfaceWorkspaceModule
-
getBuildDir
public File getBuildDir()
- Specified by:
getBuildDir
in interfaceWorkspaceModule
-
hasSources
public boolean hasSources(String classifier)
- Specified by:
hasSources
in interfaceWorkspaceModule
-
getSources
public ArtifactSources getSources(String name)
- Specified by:
getSources
in interfaceWorkspaceModule
-
getSourceClassifiers
public Collection<String> getSourceClassifiers()
- Specified by:
getSourceClassifiers
in interfaceWorkspaceModule
-
setBuildFiles
public void setBuildFiles(PathCollection buildFiles)
-
getBuildFiles
public PathCollection getBuildFiles()
- Specified by:
getBuildFiles
in interfaceWorkspaceModule
-
getDirectDependencyConstraints
public Collection<Dependency> getDirectDependencyConstraints()
- Specified by:
getDirectDependencyConstraints
in interfaceWorkspaceModule
-
getDirectDependencies
public Collection<Dependency> getDirectDependencies()
- Specified by:
getDirectDependencies
in interfaceWorkspaceModule
-
getTestClasspathDependencyExclusions
public Collection<String> getTestClasspathDependencyExclusions()
- Specified by:
getTestClasspathDependencyExclusions
in interfaceWorkspaceModule
-
getAdditionalTestClasspathElements
public Collection<String> getAdditionalTestClasspathElements()
- Specified by:
getAdditionalTestClasspathElements
in interfaceWorkspaceModule
-
getParent
public WorkspaceModule getParent()
- Specified by:
getParent
in interfaceWorkspaceModule
-
mutable
public WorkspaceModule.Mutable mutable()
- Specified by:
mutable
in interfaceWorkspaceModule
-
-