org.wildfly.swarm.config.management.access.ApplicationClassificationConstraintConsumer Maven / Gradle / Ivy
The newest version!
package org.wildfly.swarm.config.management.access;
import org.wildfly.swarm.config.management.access.ApplicationClassificationConstraint;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface ApplicationClassificationConstraintConsumer> {
/**
* Configure a pre-constructed instance of
* ApplicationClassificationConstraint resource
*
* @parameter Instance of ApplicationClassificationConstraint to configure
* @return nothing
*/
void accept(T value);
default ApplicationClassificationConstraintConsumer andThen(
ApplicationClassificationConstraintConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}