Package org.apache.cayenne.di
Interface ListBuilder<T>
- Type Parameters:
- T- A type of list values.
public interface ListBuilder<T>
A binding builder for list configurations.
- Since:
- 3.1
- 
Method SummaryModifier and Type Method Description ListBuilder<T>add(Class<? extends T> interfaceType)ListBuilder<T>add(T value)ListBuilder<T>addAfter(Class<? extends T> interfaceType, Class<? extends T> afterType)ListBuilder<T>addAfter(T value, Class<? extends T> afterType)ListBuilder<T>addAll(Collection<T> values)ListBuilder<T>addAllAfter(Collection<T> values, Class<? extends T> afterType)voidin(Scope scope)ListBuilder<T>insertAllBefore(Collection<T> values, Class<? extends T> afterType)ListBuilder<T>insertBefore(Class<? extends T> interfaceType, Class<? extends T> beforeType)ListBuilder<T>insertBefore(T value, Class<? extends T> beforeType)voidwithoutScope()
- 
Method Details- 
add- Throws:
- DIRuntimeException
 
- 
add- Throws:
- DIRuntimeException
 
- 
addAll- Throws:
- DIRuntimeException
 
- 
addAfterListBuilder<T> addAfter(Class<? extends T> interfaceType, Class<? extends T> afterType) throws DIRuntimeException- Throws:
- DIRuntimeException
- Since:
- 4.0
 
- 
addAfter- Throws:
- DIRuntimeException
- Since:
- 4.0
 
- 
addAllAfterListBuilder<T> addAllAfter(Collection<T> values, Class<? extends T> afterType) throws DIRuntimeException- Throws:
- DIRuntimeException
- Since:
- 4.0
 
- 
insertBeforeListBuilder<T> insertBefore(Class<? extends T> interfaceType, Class<? extends T> beforeType) throws DIRuntimeException- Throws:
- DIRuntimeException
- Since:
- 4.0
 
- 
insertBefore- Throws:
- DIRuntimeException
- Since:
- 4.0
 
- 
insertAllBeforeListBuilder<T> insertAllBefore(Collection<T> values, Class<? extends T> afterType) throws DIRuntimeException- Throws:
- DIRuntimeException
- Since:
- 4.0
 
- 
in
- 
withoutScopevoid withoutScope()- Since:
- 4.1
 
 
-