Interface RootProject

All Superinterfaces:
Project, ResourceProvider
All Known Implementing Classes:
BootstrapRoot

public interface RootProject extends Project
A marker interface to identify the root project.
  • Method Details

    • prepareProject

      default void prepareProject(Project project) throws Exception

      May be overridden by the root project to apply common settings to projects of specific types or with specific properties.

      This method must be invoked by any base class for project configuration classes before it returns the control to the project configuration class' constructor. The method is never invoked by the user.

      Parameters:
      project - the project to prepare
      Throws:
      Exception - the exception
    • projects

      Return the projects matching the pattern. The pattern is a glob pattern applied to the project's directory. ""matches the root project. "*" matches the root project and all immediate sub project. "**" matches all projects.
      Parameters:
      pattern - the pattern
      Returns:
      the stream
    • commandAlias

      Define an alias for requesting one or more specific resources.
      Parameters:
      name - the name
      Returns:
      the root project