Interface BuildSystemFactory
public interface BuildSystemFactory
A factory for creating a
BuildSystem.- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionCreates and returns aBuildSystemfor the given id.default BuildSystemcreateBuildSystem(String id, String dialect)
-
Method Details
-
createBuildSystem
Creates and returns aBuildSystemfor the given id. If the factory does not recognise the givenid,nullshould be returned.- Parameters:
id- the id of the build system- Returns:
- the build system or
null
-
createBuildSystem
Creates and returns aBuildSystemfor the givenidanddialect. If the factory does not recognize the givenidordialect,nullshould be returned.- Parameters:
id- the id of the build systemdialect- the dialect of the build system- Returns:
- the build system or
null
-