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

dev.galasa.framework.spi.IFrameworkRuns Maven / Gradle / Ivy

There is a newer version: 0.37.0
Show newest version
/*
 * Copyright contributors to the Galasa project
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package dev.galasa.framework.spi;

import java.util.List;
import java.util.Properties;
import java.util.Set;

import javax.validation.constraints.NotNull;

public interface IFrameworkRuns {
    
    public enum SharedEnvironmentPhase {
        BUILD,
        DISCARD
    }
    

    @NotNull
    List getActiveRuns() throws FrameworkException;

    @NotNull
    List getQueuedRuns() throws FrameworkException;;

    @NotNull
    List getAllRuns() throws FrameworkException;

    @NotNull
    List getAllGroupedRuns(@NotNull String groupName) throws FrameworkException;

    @NotNull
    Set getActiveRunNames() throws FrameworkException;

    @NotNull
    IRun submitRun(String type, String requestor, String bundleName, String testName, String groupName,
            String mavenRepository, String obr, String stream, boolean local, boolean trace, Properties overrides,
            SharedEnvironmentPhase sharedEnvironmentPhase, String sharedEnvironmentRunName, String language) throws FrameworkException;

    boolean delete(String runname) throws DynamicStatusStoreException;

    IRun getRun(String runname) throws DynamicStatusStoreException;

    boolean reset(String runname) throws DynamicStatusStoreException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy