public class Project
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
| Constructor and Description |
|---|
Project(org.gradle.internal.xml.XmlTransformer xmlTransformer,
Object pathFactory) |
| Modifier and Type | Method and Description |
|---|---|
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, transformActionload, loadDefaults, storegetMetaClass, getProperty, invokeMethod, setMetaClass, setPropertypublic Project(org.gradle.internal.xml.XmlTransformer xmlTransformer,
Object pathFactory)
public Set<Path> getModulePaths()
Path instances pointing to the modules contained in the ipr.public Set<String> getWildcards()
public Jdk getJdk()
public void setJdk(Jdk jdk)
@Incubating public String getVcs()
@Incubating public void setVcs(String vcs)
@Incubating public Set<ProjectLibrary> getProjectLibraries()
@Incubating public void setProjectLibraries(Set<ProjectLibrary> projectLibraries)
protected String getDefaultResourceName()
getDefaultResourceName in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObjectpublic 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.XmlPersistableConfigurationObjectprotected void store(Node xml)
store in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject