Class EclipsePlugin

java.lang.Object
org.gradle.plugins.ide.internal.IdePlugin
org.gradle.plugins.ide.eclipse.EclipsePlugin
All Implemented Interfaces:
Plugin<Project>

public abstract class EclipsePlugin extends org.gradle.plugins.ide.internal.IdePlugin

A plugin which generates Eclipse files.

Since:
1.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The eclipse cp task name.
    static final String
    The eclipse jdt task name.
    static final String
    The eclipse project task name.
    static final String
    The eclipse task name.

    Fields inherited from class org.gradle.plugins.ide.internal.IdePlugin

    project
  • Constructor Summary

    Constructors
    Constructor
    Description
    EclipsePlugin(org.gradle.plugins.ide.internal.configurer.UniqueProjectNameProvider uniqueProjectNameProvider, org.gradle.plugins.ide.internal.IdeArtifactRegistry artifactRegistry, org.gradle.api.plugins.jvm.internal.JvmPluginServices jvmPluginServices)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected void
    onApply(Project project)
     
    protected boolean
     

    Methods inherited from class org.gradle.plugins.ide.internal.IdePlugin

    addWorker, addWorker, addWorker, addWorker, addWorkspace, apply, cleanName, dependsOn, dependsOn, getCleanTask, getExecOperations, getLifecycleTask, isRoot, toGradleCommand, withDescription

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ECLIPSE_TASK_NAME

      public static final String ECLIPSE_TASK_NAME
      The eclipse task name.
      Since:
      3.0
      See Also:
    • ECLIPSE_PROJECT_TASK_NAME

      public static final String ECLIPSE_PROJECT_TASK_NAME
      The eclipse project task name.
      Since:
      3.0
      See Also:
    • ECLIPSE_CP_TASK_NAME

      public static final String ECLIPSE_CP_TASK_NAME
      The eclipse cp task name.
      Since:
      3.0
      See Also:
    • ECLIPSE_JDT_TASK_NAME

      public static final String ECLIPSE_JDT_TASK_NAME
      The eclipse jdt task name.
      Since:
      3.0
      See Also:
  • Constructor Details

    • EclipsePlugin

      @Inject public EclipsePlugin(org.gradle.plugins.ide.internal.configurer.UniqueProjectNameProvider uniqueProjectNameProvider, org.gradle.plugins.ide.internal.IdeArtifactRegistry artifactRegistry, org.gradle.api.plugins.jvm.internal.JvmPluginServices jvmPluginServices)
  • Method Details

    • getLifecycleTaskName

      protected String getLifecycleTaskName()
      Specified by:
      getLifecycleTaskName in class org.gradle.plugins.ide.internal.IdePlugin
    • shouldDeprecateLifecycleTask

      protected boolean shouldDeprecateLifecycleTask()
      Overrides:
      shouldDeprecateLifecycleTask in class org.gradle.plugins.ide.internal.IdePlugin
    • onApply

      protected void onApply(Project project)
      Overrides:
      onApply in class org.gradle.plugins.ide.internal.IdePlugin