public class Project
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_FILE_NAME |
Constructor and Description |
---|
Project(org.gradle.internal.xml.XmlTransformer xmlTransformer) |
Modifier and Type | Method and Description |
---|---|
Object |
configure(EclipseProject eclipseProject) |
boolean |
equals(Object o) |
List<BuildCommand> |
getBuildCommands()
The build commands to be added to this Eclipse project.
|
String |
getComment()
A comment used for the eclipse project
|
protected String |
getDefaultResourceName() |
Set<Link> |
getLinkedResources()
The linkedResources to be added to this Eclipse project.
|
String |
getName()
The name used for the name of the eclipse project
|
List<String> |
getNatures()
The natures to be added to this Eclipse project.
|
Set<String> |
getReferencedProjects()
The referenced projects of this Eclipse project.
|
Set<ResourceFilter> |
getResourceFilters() |
int |
hashCode() |
protected void |
load(Node xml) |
void |
setBuildCommands(List<BuildCommand> buildCommands) |
void |
setComment(String comment) |
void |
setLinkedResources(Set<Link> linkedResources) |
void |
setName(String name) |
void |
setNatures(List<String> natures) |
void |
setReferencedProjects(Set<String> referencedProjects) |
void |
setResourceFilters(Set<ResourceFilter> resourceFilters) |
protected void |
store(Node xml) |
String |
toString() |
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformAction
public static final String PROJECT_FILE_NAME
protected String getDefaultResourceName()
getDefaultResourceName
in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
public String getName()
public void setName(String name)
public String getComment()
public void setComment(String comment)
public Set<String> getReferencedProjects()
public List<BuildCommand> getBuildCommands()
public void setBuildCommands(List<BuildCommand> buildCommands)
public Set<Link> getLinkedResources()
@Incubating public Set<ResourceFilter> getResourceFilters()
@Incubating public void setResourceFilters(Set<ResourceFilter> resourceFilters)
public Object configure(EclipseProject eclipseProject)
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