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