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

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