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

io.cucumber.testng.NoObjectFactory Maven / Gradle / Ivy

package io.cucumber.testng;

import io.cucumber.core.backend.ObjectFactory;

/**
 * This object factory does nothing. It is solely needed for marking purposes.
 */
final class NoObjectFactory implements ObjectFactory {

    private NoObjectFactory() {
        // No need for instantiation
    }

    @Override
    public boolean addClass(Class glueClass) {
        return false;
    }

    @Override
    public  T getInstance(Class glueClass) {
        return null;
    }

    @Override
    public void start() {
    }

    @Override
    public void stop() {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy