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

io.cloudslang.lang.tools.build.verifier.PreCompileResult Maven / Gradle / Ivy

There is a newer version: 2.0.94
Show newest version
/*******************************************************************************
 * (c) Copyright 2016 Hewlett-Packard Development Company, L.P.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0 which accompany this distribution.
 *
 * The Apache License is available at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 *******************************************************************************/
package io.cloudslang.lang.tools.build.verifier;

import io.cloudslang.lang.compiler.modeller.model.Executable;

import java.util.ArrayDeque;
import java.util.HashMap;
import java.util.Map;
import java.util.Queue;

public class PreCompileResult {

    private Map results;
    private Queue exceptions;

    public PreCompileResult() {
        this.results = new HashMap<>();
        this.exceptions = new ArrayDeque<>();
    }

    public Map getResults() {
        return results;
    }

    public void addResults(Map results) {
        this.results.putAll(results);
    }

    public Queue getExceptions() {
        return exceptions;
    }

    public void addExceptions(Queue exceptions) {
        this.exceptions.addAll(exceptions);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy