Package com.google.api.ads.dfp.v201308

Examples of com.google.api.ads.dfp.v201308.EnvironmentType


        }
        return null;
    }

    protected EnvironmentType getEnvironment(boolean create) {
        EnvironmentType type = null;
        Object plan = getPlan().getValue();
        if (WebAppType.class.isInstance(plan)) {
            type = ((WebAppType) plan).getEnvironment();
            if (type == null && create) {
                type = getDeploymentObjectFactory().createEnvironmentType();
View Full Code Here


        return type;
    }
   
    private DependenciesType getDependencies(boolean create) {
        EnvironmentType env = getEnvironment(create);
        if(env != null) {
            DependenciesType dep = env.getDependencies();
            if (dep == null && create) {
                dep = getDeploymentObjectFactory().createDependenciesType();
                env.setDependencies(dep);
            }
            return dep;
        }
        return null;
    }
View Full Code Here

        }
        return null;
    }

    private ArtifactType getModuleId(boolean create) {
        EnvironmentType type = getEnvironment(create);
        if (type != null) {
            ArtifactType moduleId = type.getModuleId();
            if (moduleId == null && create) {
                moduleId = getDeploymentObjectFactory().createArtifactType();
                type.setModuleId(moduleId);
            }
            return moduleId;
        }
        return null;
    }
View Full Code Here

        return getDependencies().getDependency();
    }

    private DependenciesType getDependencies() {
        if (environment == null) {
            environment = new EnvironmentType();
        }
        if (environment.getDependencies() == null) {
            environment.setDependencies(new DependenciesType());
        }
        return environment.getDependencies();
View Full Code Here


        ArtifactType artifactType = new ArtifactType();
        artifactType.setArtifactId(id);

        EnvironmentType environmentType = new EnvironmentType();
        environmentType.setModuleId(artifactType);

        GeronimoEjbJarType geronimoEjbJarType = new GeronimoEjbJarType();
        geronimoEjbJarType.setEnvironment(environmentType);

        return geronimoEjbJarType;
View Full Code Here


        ArtifactType artifactType = new ArtifactType();
        artifactType.setArtifactId(id);

        EnvironmentType environmentType = new EnvironmentType();
        environmentType.setModuleId(artifactType);

        GeronimoEjbJarType geronimoEjbJarType = new GeronimoEjbJarType();
        geronimoEjbJarType.setEnvironment(environmentType);

        return geronimoEjbJarType;
View Full Code Here


        ArtifactType artifactType = new ArtifactType();
        artifactType.setArtifactId(id);

        EnvironmentType environmentType = new EnvironmentType();
        environmentType.setModuleId(artifactType);

        GeronimoEjbJarType geronimoEjbJarType = new GeronimoEjbJarType();
        geronimoEjbJarType.setEnvironment(environmentType);

        return geronimoEjbJarType;
View Full Code Here


        ArtifactType artifactType = new ArtifactType();
        artifactType.setArtifactId(id);

        EnvironmentType environmentType = new EnvironmentType();
        environmentType.setModuleId(artifactType);

        GeronimoEjbJarType geronimoEjbJarType = new GeronimoEjbJarType();
        geronimoEjbJarType.setEnvironment(environmentType);

        return geronimoEjbJarType;
View Full Code Here


        ArtifactType artifactType = new ArtifactType();
        artifactType.setArtifactId(id);

        EnvironmentType environmentType = new EnvironmentType();
        environmentType.setModuleId(artifactType);

        GeronimoEjbJarType geronimoEjbJarType = new GeronimoEjbJarType();
        geronimoEjbJarType.setEnvironment(environmentType);

        return geronimoEjbJarType;
View Full Code Here


        ArtifactType artifactType = new ArtifactType();
        artifactType.setArtifactId(id);

        EnvironmentType environmentType = new EnvironmentType();
        environmentType.setModuleId(artifactType);

        GeronimoEjbJarType geronimoEjbJarType = new GeronimoEjbJarType();
        geronimoEjbJarType.setEnvironment(environmentType);

        return geronimoEjbJarType;
View Full Code Here

TOP

Related Classes of com.google.api.ads.dfp.v201308.EnvironmentType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.