Module jp.cafebabe.birthmarks
Package jp.cafebabe.birthmarks
Class AbstractTaskBuilders<T extends Comparable<T>,V extends TaskBuilder<T>>
- java.lang.Object
-
- jp.cafebabe.birthmarks.AbstractTaskBuilders<T,V>
-
- All Implemented Interfaces:
TaskBuilders<T,V>
- Direct Known Subclasses:
ComparatorBuilders
,ExtractorBuilders
public class AbstractTaskBuilders<T extends Comparable<T>,V extends TaskBuilder<T>> extends Object implements TaskBuilders<T,V>
-
-
Constructor Summary
Constructors Constructor Description AbstractTaskBuilders(Class<? extends V> targetClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
available(T type)
Stream<T>
availableTypes()
V
builder(T type)
void
register(V service)
-
-
-
Method Detail
-
builder
public V builder(T type)
- Specified by:
builder
in interfaceTaskBuilders<T extends Comparable<T>,V extends TaskBuilder<T>>
-
available
public boolean available(T type)
- Specified by:
available
in interfaceTaskBuilders<T extends Comparable<T>,V extends TaskBuilder<T>>
-
availableTypes
public Stream<T> availableTypes()
- Specified by:
availableTypes
in interfaceTaskBuilders<T extends Comparable<T>,V extends TaskBuilder<T>>
-
register
public void register(V service)
-
-