Interface BuildService
-
public interface BuildService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IncrementalBuildResultsaddPackageResource(org.uberfire.backend.vfs.Path resource)Add a Package resource to the build.IncrementalBuildResultsapplyBatchResourceChanges(Module module, Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> changes)Process a batch of changes to a Module's resources.BuildResultsbuild(Module module)Full build without deploymentBuildResultsbuildAndDeploy(Module module)Full build with deploymentBuildResultsbuildAndDeploy(Module module, boolean suppressHandlers)Full build with deployment with ability to suppress any post operations handlers to ensure that only build and deploy was invokedBuildResultsbuildAndDeploy(Module module, boolean suppressHandlers, DeploymentMode mode)Full build with forced deployment to Maven.BuildResultsbuildAndDeploy(Module module, DeploymentMode mode)Full build with forced deployment to Maven.IncrementalBuildResultsdeletePackageResource(org.uberfire.backend.vfs.Path resource)Remove a Package resource from the build.booleanisBuilt(Module module)Check whether a Module has been builtIncrementalBuildResultsupdatePackageResource(org.uberfire.backend.vfs.Path resource)Update an existing Package resource in the build.
-
-
-
Method Detail
-
build
BuildResults build(Module module)
Full build without deployment- Parameters:
module-
-
buildAndDeploy
BuildResults buildAndDeploy(Module module)
Full build with deployment- Parameters:
module-
-
buildAndDeploy
BuildResults buildAndDeploy(Module module, DeploymentMode mode)
Full build with forced deployment to Maven. Pre-existing artifacts with the same GAV will be overwritten.- Parameters:
module- Module to be builtmode- The deployment mode
-
buildAndDeploy
BuildResults buildAndDeploy(Module module, boolean suppressHandlers)
Full build with deployment with ability to suppress any post operations handlers to ensure that only build and deploy was invoked- Parameters:
module-
-
buildAndDeploy
BuildResults buildAndDeploy(Module module, boolean suppressHandlers, DeploymentMode mode)
Full build with forced deployment to Maven. Pre-existing artifacts with the same GAV will be overwritten. This method has the ability to suppress any post operations handlers to ensure * that only build and deploy is invoked- Parameters:
module- Module to be builtsuppressHandlers- true to ignore post-processingmode- The deployment mode
-
isBuilt
boolean isBuilt(Module module)
Check whether a Module has been built- Parameters:
module-- Returns:
-
addPackageResource
IncrementalBuildResults addPackageResource(org.uberfire.backend.vfs.Path resource)
Add a Package resource to the build.- Parameters:
resource-
-
deletePackageResource
IncrementalBuildResults deletePackageResource(org.uberfire.backend.vfs.Path resource)
Remove a Package resource from the build.- Parameters:
resource-
-
updatePackageResource
IncrementalBuildResults updatePackageResource(org.uberfire.backend.vfs.Path resource)
Update an existing Package resource in the build.- Parameters:
resource-
-
applyBatchResourceChanges
IncrementalBuildResults applyBatchResourceChanges(Module module, Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> changes)
Process a batch of changes to a Module's resources.- Parameters:
module-changes-
-
-