Guvnor - Project API 6.2.0.Final

org.guvnor.common.services.project.builder.service
Interface BuildService


public interface BuildService


Method Summary
 IncrementalBuildResults addPackageResource(org.uberfire.backend.vfs.Path resource)
          Add a Package resource to the build.
 IncrementalBuildResults applyBatchResourceChanges(Project project, Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> changes)
          Process a batch of changes to a Project's resources.
 BuildResults build(Project project)
          Full build without deployment
 BuildResults buildAndDeploy(Project project)
          Full build with deployment
 BuildResults buildAndDeploy(Project project, boolean suppressHandlers)
          Full build with deployment with ability to suppress any post operations handlers to ensure that only build and deploy was invoked
 IncrementalBuildResults deletePackageResource(org.uberfire.backend.vfs.Path resource)
          Remove a Package resource from the build.
 boolean isBuilt(Project project)
          Check whether a Project has been built
 IncrementalBuildResults updatePackageResource(org.uberfire.backend.vfs.Path resource)
          Update an existing Package resource in the build.
 

Method Detail

build

BuildResults build(Project project)
Full build without deployment

Parameters:
project -

buildAndDeploy

BuildResults buildAndDeploy(Project project)
Full build with deployment

Parameters:
project -

buildAndDeploy

BuildResults buildAndDeploy(Project project,
                            boolean suppressHandlers)
Full build with deployment with ability to suppress any post operations handlers to ensure that only build and deploy was invoked

Parameters:
project -

isBuilt

boolean isBuilt(Project project)
Check whether a Project has been built

Parameters:
project -
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(Project project,
                                                  Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> changes)
Process a batch of changes to a Project's resources.

Parameters:
project -
changes -

Guvnor - Project API 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.