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

com.github.nagyesta.lowkeyvault.mapper.common.RecoveryAwareConverter Maven / Gradle / Ivy

There is a newer version: 2.5.81
Show newest version
package com.github.nagyesta.lowkeyvault.mapper.common;

import com.github.nagyesta.lowkeyvault.context.ApiVersionAware;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;

import java.net.URI;

/**
 * Converter interface supporting both active and deleted entities.
 *
 * @param   The source type.
 * @param   The active target type.
 * @param 
The deleted target type. */ public interface RecoveryAwareConverter extends ApiVersionAware, InitializingBean { @Nullable T convert(S source, @NonNull URI vaultUri); @NonNull DT convertDeleted(@NonNull S source, @NonNull URI vaultUri); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy