/** * Creates a full build request for the given module, and additionally performs the deployment for the build * in current m2repository. * @param module the module to build. * @param deploymentType the type of deployment to perform. * @param suppressHandlers true if PostBuildHandlers invocation should be canceled, false in any other case. * @return a properly constructed build request. */ public static final LocalBuildRequest newFullBuildAndDeployRequest(Module module, LocalBuildConfig.DeploymentType deploymentType, boolean suppressHandlers) { return new LocalBuildRequest(module, deploymentType, suppressHandlers); }
/** * Creates an incremental build request for the given module. * @param module the module to build incrementally. * @param buildType the incremental build type to perform. * @param resource the resource that was added, updated or deleted. * @return a properly constructed build request. */ public static final LocalBuildRequest newIncrementalBuildRequest(Module module, LocalBuildConfig.BuildType buildType, Path resource) { return new LocalBuildRequest(module, buildType, resource); }
/** * Creates an incremental build request for the given module. * @param module the module to build incrementally. * @param resourceChanges the set of changes. This incremental build type supports changes for multiple resources. * @return a properly constructed build request. */ public static final LocalBuildRequest newIncrementalBuildRequest(Module module, Map<Path, Collection<ResourceChange>> resourceChanges) { return new LocalBuildRequest(module, resourceChanges); }
/** * Creates a full build request for the given module. * @param module the module to build. * @return a properly constructed build request. */ public static final LocalBuildRequest newFullBuildRequest(Module module) { return new LocalBuildRequest(module); }