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

com.commercetools.sunrise.framework.controllers.AbstractSphereRequestExecutor Maven / Gradle / Ivy

The newest version!
package com.commercetools.sunrise.framework.controllers;

import com.commercetools.sunrise.framework.hooks.HookRunner;
import io.sphere.sdk.client.SphereClient;
import io.sphere.sdk.models.Base;

public abstract class AbstractSphereRequestExecutor extends Base {

    private final SphereClient sphereClient;
    private final HookRunner hookRunner;

    protected AbstractSphereRequestExecutor(final SphereClient sphereClient, final HookRunner hookRunner) {
        this.sphereClient = sphereClient;
        this.hookRunner = hookRunner;
    }

    protected final SphereClient getSphereClient() {
        return sphereClient;
    }

    protected final HookRunner getHookRunner() {
        return hookRunner;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy