All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ca.apim.gateway.cagatewayconfig.GatewayDeveloperPluginConfig Maven / Gradle / Ivy

/*
 * Copyright (c) 2018 CA. All rights reserved.
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

package com.ca.apim.gateway.cagatewayconfig;

import org.gradle.api.Project;
import org.gradle.api.file.DirectoryProperty;
import org.gradle.api.provider.Property;

import java.util.Map;

public class GatewayDeveloperPluginConfig {

    private final DirectoryProperty solutionDir;
    private DirectoryProperty builtBundleDir;
    private final Property environmentConfig;
    private DirectoryProperty builtEnvironmentBundleDir;
    private final Property detemplatizeDeploymentBundles;

    public GatewayDeveloperPluginConfig(Project project) {
        solutionDir = project.getLayout().directoryProperty();
        builtBundleDir = project.getLayout().directoryProperty();
        environmentConfig = project.getObjects().property(Map.class);
        builtEnvironmentBundleDir = project.getLayout().directoryProperty();
        detemplatizeDeploymentBundles = project.getObjects().property(Boolean.class);
    }

    DirectoryProperty getSolutionDir() {
        return solutionDir;
    }

    DirectoryProperty getBuiltBundleDir() {
        return builtBundleDir;
    }

    Property getEnvironmentConfig() {
        return environmentConfig;
    }

    DirectoryProperty getBuiltEnvironmentBundleDir() {
        return builtEnvironmentBundleDir;
    }

    public Property getDetemplatizeDeploymentBundles() {
        return detemplatizeDeploymentBundles;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy