Class BuildInfoService
- java.lang.Object
-
- org.kie.workbench.common.services.backend.builder.service.BuildInfoService
-
@ApplicationScoped public class BuildInfoService extends Object
Service for providing access to the build information for a given project. In general workbench modules and services should avoid direct access to the LRUBuilderCache, instead they should use the BuildInfoService.
-
-
Constructor Summary
Constructors Constructor Description BuildInfoService()BuildInfoService(org.guvnor.common.services.project.builder.service.BuildService buildService, LRUBuilderCache builderCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildInfogetBuildInfo(org.guvnor.common.services.project.model.Module module)Gets the BuildInfo for a given module.
-
-
-
Constructor Detail
-
BuildInfoService
public BuildInfoService()
-
BuildInfoService
@Inject public BuildInfoService(org.guvnor.common.services.project.builder.service.BuildService buildService, LRUBuilderCache builderCache)
-
-
Method Detail
-
getBuildInfo
public BuildInfo getBuildInfo(org.guvnor.common.services.project.model.Module module)
Gets the BuildInfo for a given module. The BuildInfoService decides internally whenever the module should be built prior to construct the BuildInfo.- Parameters:
module- The module for getting the BuildInfo.- Returns:
- the BuildInfo for the given module.
-
-