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
    • commandAlias

      default RootProject commandAlias(String name, ResourceRequest<?>... requests)
      Define an alias for requesting one more more specific resources.
      Parameters:
      name - the name
      requests - the requests
      Returns:
      the root project