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

com.indeed.proctor.common.ProctorSpecification Maven / Gradle / Ivy

package com.indeed.proctor.common;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Collections;
import java.util.Map;

public class ProctorSpecification {
    @Nonnull
    private Map providedContext = Collections.emptyMap();
    @Nullable
    private Map tests = Collections.emptyMap();

    @Nonnull
    public Map getProvidedContext() {
        return providedContext;
    }

    public void setProvidedContext(@Nonnull final Map providedContext) {
        this.providedContext = providedContext;
    }

    /**
     * Return the test specification for each named test.
     *
     * If null, tests is intentionally omitted. All tests in the test matrix should be considered.
     */
    @Nullable
    public Map getTests() {
        return tests;
    }

    public void setTests(@Nullable final Map tests) {
        this.tests = tests;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy