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
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkspaceModule(WorkspaceModuleId id, File moduleDir, File buildDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArtifactSources(ArtifactSources src)voidaddDirectDependency(Dependency directDep)FilegetBuildDir()PathCollectiongetBuildFiles()Collection<Dependency>getDirectDependencies()Collection<Dependency>getDirectDependencyConstraints()WorkspaceModuleIdgetId()FilegetModuleDir()Collection<String>getSourceClassifiers()ArtifactSourcesgetSources(String name)booleanhasSources(String classifier)voidsetBuildFiles(PathCollection buildFiles)voidsetDirectDependencies(List<Dependency> directDeps)voidsetDirectDependencyConstraints(List<Dependency> directDepConstraints)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
-
-
-
-
Field Detail
-
MAIN
public static final String MAIN
- See Also:
- Constant Field Values
-
TEST
public static final String TEST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultWorkspaceModule
public DefaultWorkspaceModule(WorkspaceModuleId id, File moduleDir, File buildDir)
-
-
Method Detail
-
getId
public WorkspaceModuleId getId()
- Specified by:
getIdin interfaceWorkspaceModule
-
getModuleDir
public File getModuleDir()
- Specified by:
getModuleDirin interfaceWorkspaceModule
-
getBuildDir
public File getBuildDir()
- Specified by:
getBuildDirin interfaceWorkspaceModule
-
addArtifactSources
public void addArtifactSources(ArtifactSources src)
-
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
-
setDirectDependencyConstraints
public void setDirectDependencyConstraints(List<Dependency> directDepConstraints)
-
getDirectDependencies
public Collection<Dependency> getDirectDependencies()
- Specified by:
getDirectDependenciesin interfaceWorkspaceModule
-
setDirectDependencies
public void setDirectDependencies(List<Dependency> directDeps)
-
addDirectDependency
public void addDirectDependency(Dependency directDep)
-
-