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

com.envimate.webmate.UseCaseRegistryEntry Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
/*
 * Copyright (C) 2017 [Richard Hauswald, Nune Isabekyan] (envimate GmbH - https://envimate.com/)
 */

package com.envimate.webmate;

import com.envimate.webmate.usecase.UseCase;
import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;
import lombok.ToString;

@ToString
@EqualsAndHashCode
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public final class UseCaseRegistryEntry {
    public final UseCaseMapping useCaseMapping;
    public final UseCase useCase;

    public static UseCaseRegistryEntry entry(final UseCaseMapping useCaseMapping, final UseCase useCase) {
        return new UseCaseRegistryEntry(useCaseMapping, useCase);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy