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

uworkers.utils.EndpointNamed Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package uworkers.utils;

import lombok.RequiredArgsConstructor;
import trip.spi.helpers.filter.Condition;
import uworkers.core.config.EndpointConsumerConfiguration;

@RequiredArgsConstructor(staticName="with")
public class EndpointNamed implements Condition {

	final String name;

	@Override
	public boolean check( final EndpointConsumerConfiguration object ) {
		return name.equals( object.getName() );
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy