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

org.jboss.arquillian.testcontainers.TestcontainerDescription Maven / Gradle / Ivy

/*
 * Copyright The Arquillian Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.jboss.arquillian.testcontainers;

import org.jboss.arquillian.testcontainers.api.Testcontainer;
import org.testcontainers.containers.GenericContainer;

/**
 * A holder for information about the Testcontainer being injected into a field.
 *
 * @author James R. Perkins
 */
class TestcontainerDescription {

    /**
     * The annotation that was on the field
     */
    final Testcontainer testcontainer;
    /**
     * The instance of the container created
     */
    final GenericContainer instance;

    TestcontainerDescription(final Testcontainer testcontainer, final GenericContainer instance) {
        this.testcontainer = testcontainer;
        this.instance = instance;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy