/* Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.flowable.spring.boot.form;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Collections;
import java.util.List;

/**
 * Properties for configuring the form engine.
 *
 * @author Filip Hrisafov
 * @author Javier Casal
 */
@ConfigurationProperties(prefix = "flowable.form")
public class FlowableFormProperties {

    /**
     * The name of the deployment for the form resources.
     */
    private String deploymentName;

    /**
     * The location where the form resources are located.
     * Default is {@code classpath*:/forms/}
     */
    private String resourceLocation = "classpath*:/forms/";

    /**
     * The suffixes for the resources that need to be scanned.
     * Default is {@code **.json}
     */
    private List<String> resourceSuffixes = Collections.singletonList("**.form");

    /**
     * Whether to perform deployment of resources, default is true.
     */
    private boolean deployResources = true;

    /**
     * Whether the form engine needs to be started.
     */
    private boolean enable = true;

    public String getDeploymentName() {
        return deploymentName;
    }

    public void setDeploymentName(String deploymentName) {
        this.deploymentName = deploymentName;
    }

    public String getResourceLocation() {
        return resourceLocation;
    }

    public void setResourceLocation(String resourceLocation) {
        this.resourceLocation = resourceLocation;
    }

    public List<String> getResourceSuffixes() {
        return resourceSuffixes;
    }

    public void setResourceSuffixes(List<String> resourceSuffixes) {
        this.resourceSuffixes = resourceSuffixes;
    }

    public boolean isDeployResources() {
        return deployResources;
    }

    public void setDeployResources(boolean deployResources) {
        this.deployResources = deployResources;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}

@@ -1631,16 +1631,17 @@
 n enable
+d
  = true;
@@ -2472,16 +2472,17 @@
 isEnable
+d
 () %7B%0A   
@@ -2495,24 +2495,25 @@
 eturn enable
+d
 ;%0A    %7D%0A%0A   
@@ -2534,16 +2534,17 @@
 etEnable
+d
 (boolean
@@ -2550,16 +2550,17 @@
 n enable
+d
 ) %7B%0A    
@@ -2574,16 +2574,17 @@
 s.enable
+d
  = enabl
@@ -2584,16 +2584,17 @@
 = enable
+d
 ;%0A    %7D%0A

Use correct property for enabling