Class 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 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.