Class LocalBuildConfigInternal
- java.lang.Object
-
- org.kie.workbench.common.services.backend.builder.ala.LocalBuildConfigInternal
-
- All Implemented Interfaces:
org.guvnor.ala.config.BuildConfig,org.guvnor.ala.config.Config
public class LocalBuildConfigInternal extends Object implements org.guvnor.ala.config.BuildConfig
This interface represents the internal configuration for a build to be performed by the local build system.
-
-
Constructor Summary
Constructors Constructor Description LocalBuildConfigInternal()LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module)LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module, Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> resourceChanges)LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module, LocalBuildConfig.BuildType buildType, org.uberfire.backend.vfs.Path resource)LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module, LocalBuildConfig.DeploymentType deploymentType, boolean suppressHandlers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalBuildConfig.BuildTypegetBuildType()LocalBuildConfig.DeploymentTypegetDeploymentType()org.guvnor.common.services.project.model.ModulegetModule()org.uberfire.backend.vfs.PathgetResource()Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>>getResourceChanges()booleanisSuppressHandlers()
-
-
-
Constructor Detail
-
LocalBuildConfigInternal
public LocalBuildConfigInternal()
-
LocalBuildConfigInternal
public LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module)
-
LocalBuildConfigInternal
public LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module, LocalBuildConfig.DeploymentType deploymentType, boolean suppressHandlers)
-
LocalBuildConfigInternal
public LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module, LocalBuildConfig.BuildType buildType, org.uberfire.backend.vfs.Path resource)
-
LocalBuildConfigInternal
public LocalBuildConfigInternal(org.guvnor.common.services.project.model.Module module, Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> resourceChanges)
-
-
Method Detail
-
getBuildType
public LocalBuildConfig.BuildType getBuildType()
- Returns:
- the BuildType to be performed.
-
getModule
public org.guvnor.common.services.project.model.Module getModule()
- Returns:
- the module that will be built.
-
getResource
public org.uberfire.backend.vfs.Path getResource()
- Returns:
- in the case of an incremental build returns the resource that will be used for the incremental build.
-
getResourceChanges
public Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> getResourceChanges()
- Returns:
- in the case of an incremental build where multiple resources where changed returns the set of changes.
-
getDeploymentType
public LocalBuildConfig.DeploymentType getDeploymentType()
- Returns:
- in the case where a full build and deploy was selected returns the DeploymentType to perform.
-
isSuppressHandlers
public boolean isSuppressHandlers()
- Returns:
- in the case where a full build and deploy was selected returns a boolean indicating if the PostBuildHandlers invocation should be suppressed.
-
-