Groovy Documentation

org.gradle.api.tasks.ide.eclipse
Class EclipseProject

java.lang.Object
  org.gradle.api.internal.AbstractTask
      org.gradle.api.DefaultTask
          org.gradle.api.internal.ConventionTask
              org.gradle.api.tasks.ide.eclipse.EclipseProject

class EclipseProject
extends ConventionTask

Generates an eclipse .project file.

author:
Hans Dockter


Field Summary
static java.lang.String PROJECT_FILE_NAME

 
Constructor Summary
EclipseProject(Project project, java.lang.String name)

 
Method Summary
java.lang.String getProjectName()

Returns the name used for the name of the eclipse project

ProjectType getProjectType()

Returns the type of the Eclipse project

void setProjectName(java.lang.String projectName)

Sets the name used for the name of the eclipse project.

void setProjectType(ProjectType projectType)

Sets the type of the eclipse project

 
Methods inherited from class ConventionTask
conv, conventionMapping, conventionMapping, conventionProperty, getConventionAwareHelper, getConventionMapping, setConventionAwareHelper, setConventionMapping
 
Methods inherited from class DefaultTask
leftShift, methodMissing, propertyMissing
 
Methods inherited from class AbstractTask
captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getPath, getProject, getSkipProperties, getStandardOutputCapture, getTaskDependencies, hasProperty, hashCode, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setProject, setProperty, setSkipProperties, setStandardOutputCapture, toString
 
Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll
 

Field Detail

PROJECT_FILE_NAME

static final java.lang.String PROJECT_FILE_NAME


 
Constructor Detail

EclipseProject

public EclipseProject(Project project, java.lang.String name)


 
Method Detail

getProjectName

public java.lang.String getProjectName()
Returns the name used for the name of the eclipse project


getProjectType

public ProjectType getProjectType()
Returns the type of the Eclipse project


setProjectName

public void setProjectName(java.lang.String projectName)
Sets the name used for the name of the eclipse project.
param:
projectName The project name


setProjectType

public void setProjectType(ProjectType projectType)
Sets the type of the eclipse project
param:
projectType The project type


 

Groovy Documentation