Interface ProjectInitializer
-
public interface ProjectInitializerThe initializers will be called when a project is initializing, this enables different kind of components to setup its own natures A nature describes a set of orthogonal capabilities that are going to be attached to the project. For example a nature called maven will contribute with all the components related to maven (project structure, dependency management, label, name of the project). Other natures like connectivity or mule can contribute with other capabilities such as indexers, custom commands and so.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.mule.dx.platform.api.project.ProjectDescriptorinitialize(ProjectMetadata projectMetadata, org.mule.dx.platform.api.project.ProjectDescriptorBuilder builder)Initialize the project is being called to set up the projectbooleansupports(ProjectMetadata projectMetadata)If returns true
-
-
-
Method Detail
-
supports
boolean supports(ProjectMetadata projectMetadata)
If returns true- Parameters:
projectMetadata- The projectMetadata contains basic information about the project- Returns:
- if true the `initialize` will be called
-
initialize
org.mule.dx.platform.api.project.ProjectDescriptor initialize(ProjectMetadata projectMetadata, org.mule.dx.platform.api.project.ProjectDescriptorBuilder builder)
Initialize the project is being called to set up the project- Parameters:
projectMetadata- The projectMetadata contains basic information about the projectbuilder- The builder to contribute to- Returns:
- The ProjectDescriptor bing built
-
-