Interface BuildSystemFactory


public interface BuildSystemFactory
A factory for creating a BuildSystem.
Author:
Andy Wilkinson
  • Method Details

    • createBuildSystem

      BuildSystem createBuildSystem(String id)
      Creates and returns a BuildSystem for the given id. If the factory does not recognise the given id, null should be returned.
      Parameters:
      id - the id of the build system
      Returns:
      the build system or null
    • createBuildSystem

      default BuildSystem createBuildSystem(String id, String dialect)
      Creates and returns a BuildSystem for the given id and dialect. If the factory does not recognize the given id or dialect, null should be returned.
      Parameters:
      id - the id of the build system
      dialect - the dialect of the build system
      Returns:
      the build system or null