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

com.sap.cloud.mt.subscription.exits.Exits Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
/******************************************************************************
 * © 2020 SAP SE or an SAP affiliate company. All rights reserved.            *
 ******************************************************************************/
package com.sap.cloud.mt.subscription.exits;

public class Exits {
    private final UnSubscribeExit unSubscribeExit;
    private final SubscribeExit subscribeExit;
    private final DependencyExit dependencyExit;
    private final InitDbExit initDbExit;

    public Exits(UnSubscribeExit unSubscribeExit, SubscribeExit subscribeExit, DependencyExit dependencyExit, InitDbExit initDbExit) {
        this.unSubscribeExit = unSubscribeExit != null ? unSubscribeExit : new UnSubscribeExit() {
        };
        this.subscribeExit = subscribeExit != null ? subscribeExit : new SubscribeExit() {
        };
        this.dependencyExit = dependencyExit != null ? dependencyExit : new DependencyExit() {
        };
        this.initDbExit = initDbExit != null ? initDbExit : new InitDbExit() {
        };
    }

    public UnSubscribeExit getUnSubscribeExit() {
        return unSubscribeExit;
    }

    public SubscribeExit getSubscribeExit() {
        return subscribeExit;
    }

    public DependencyExit getDependencyExit() {
        return dependencyExit;
    }

    public InitDbExit getInitDbExit() {
        return initDbExit;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy