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

io.cloudslang.lang.cli.services.ScoreServices Maven / Gradle / Ivy

The 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.cli.services;

import io.cloudslang.lang.entities.CompilationArtifact;
import io.cloudslang.lang.entities.SystemProperty;
import io.cloudslang.lang.entities.bindings.values.Value;
import io.cloudslang.score.events.ScoreEventListener;
import java.util.Map;
import java.util.Set;

/**
 * @author Bonczidai Levente
 * @version $Id$
 * @since 12/09/2014
 */
public interface ScoreServices {
    void subscribe(ScoreEventListener eventHandler, Set eventTypes);

    Long trigger(CompilationArtifact compilationArtifact,
                 Map inputs,
                 Set systemProperties);

    Long triggerSync(CompilationArtifact compilationArtifact,
                     Map inputs,
                     Set systemProperties,
                     boolean quiet,
                     boolean debug);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy