Class EngineProjectExtension
-
- All Implemented Interfaces:
public class EngineProjectExtension
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEngineProjectExtension.Companion
-
Field Summary
Fields Modifier and Type Field Description private List<String>exposedPackagesToParserprivate StringnodeCommandpublic final static EngineProjectExtension.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description EngineProjectExtension(Project project)
-
Method Summary
Modifier and Type Method Description final List<String>getExposedPackagesToParser()The packages to scan for classes annotated with @Endpoint and related model classes. final UnitsetExposedPackagesToParser(List<String> exposedPackagesToParser)The packages to scan for classes annotated with @Endpoint and related model classes. final StringgetNodeCommand()The node command to execute final UnitsetNodeCommand(String nodeCommand)The node command to execute StringtoString()-
-
Method Detail
-
getExposedPackagesToParser
final List<String> getExposedPackagesToParser()
The packages to scan for classes annotated with @Endpoint and related model classes. For a single module application, there is no need for configuring this necessarily, as the classes from the current project is automatically scanned (unless the endpoints are located in a dependency). On the contrary, in a multi-module project if the endpoint classes are located in the other modules, it is necessary to set the list packages in the build.gradle file.
-
setExposedPackagesToParser
final Unit setExposedPackagesToParser(List<String> exposedPackagesToParser)
The packages to scan for classes annotated with @Endpoint and related model classes. For a single module application, there is no need for configuring this necessarily, as the classes from the current project is automatically scanned (unless the endpoints are located in a dependency). On the contrary, in a multi-module project if the endpoint classes are located in the other modules, it is necessary to set the list packages in the build.gradle file.
-
getNodeCommand
final String getNodeCommand()
The node command to execute
-
setNodeCommand
final Unit setNodeCommand(String nodeCommand)
The node command to execute
-
-
-
-