com.envimate.webmate.UseCaseRegistryEntry Maven / Gradle / Ivy
/*
* 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