com.tavianator.sangria.listbinder.ListBinderBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sangria-listbinder Show documentation
Show all versions of sangria-listbinder Show documentation
A multi-binder with ordering guarantees
The newest version!
package com.tavianator.sangria.listbinder;
import com.tavianator.sangria.core.Priority;
/**
* Fluent builder interface.
*
* @author Tavian Barnes ([email protected])
* @version 1.1
* @since 1.1
*/
public interface ListBinderBuilder {
/**
* @return A {@link ListBinder} with the default priority.
* @see Priority
*/
ListBinder withDefaultPriority();
/**
* @return A {@link ListBinder} with the given priority.
* @see Priority
*/
ListBinder withPriority(int weight, int... weights);
}