org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
public class Project
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Constructor | Description |
---|---|
Project(org.gradle.internal.xml.XmlTransformer xmlTransformer,
Object pathFactory) |
Modifier and Type | Method | Description |
---|---|---|
void |
addModulePath(File moduleFile) |
Adds a module to the module paths included in the Project.
|
void |
configure(List<IdeaModule> modules,
String jdkName,
IdeaLanguageLevel languageLevel,
JavaVersion bytecodeVersion,
Collection<String> wildcards,
Collection<ProjectLibrary> projectLibraries,
String vcs) |
|
boolean |
equals(Object o) |
|
protected String |
getDefaultResourceName() |
|
Jdk |
getJdk() |
Represent the jdk information of the project java sdk.
|
Set<Path> |
getModulePaths() |
A set of
Path instances pointing to the modules contained in the ipr. |
Set<ProjectLibrary> |
getProjectLibraries() |
The project-level libraries of the IDEA project.
|
String |
getVcs() |
The vcs used by the project.
|
Set<String> |
getWildcards() |
A set of wildcard string to be included/excluded from the resources.
|
int |
hashCode() |
|
protected void |
load(Node xml) |
|
void |
setJdk(Jdk jdk) |
|
void |
setModulePaths(Set<Path> modulePaths) |
|
void |
setProjectLibraries(Set<ProjectLibrary> projectLibraries) |
|
void |
setVcs(String vcs) |
|
void |
setWildcards(Set<String> wildcards) |
|
protected void |
store(Node xml) |
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformAction
public Project(org.gradle.internal.xml.XmlTransformer xmlTransformer, Object pathFactory)
public Set<Path> getModulePaths()
Path
instances pointing to the modules contained in the ipr.@Incubating public void addModulePath(File moduleFile)
moduleFile
- path to the module's module filepublic Set<String> getWildcards()
public Jdk getJdk()
public void setJdk(Jdk jdk)
public String getVcs()
public void setVcs(String vcs)
public Set<ProjectLibrary> getProjectLibraries()
public void setProjectLibraries(Set<ProjectLibrary> projectLibraries)
protected String getDefaultResourceName()
getDefaultResourceName
in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
public void configure(List<IdeaModule> modules, String jdkName, IdeaLanguageLevel languageLevel, JavaVersion bytecodeVersion, Collection<String> wildcards, Collection<ProjectLibrary> projectLibraries, String vcs)
protected void load(Node xml)
load
in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
protected void store(Node xml)
store
in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject