public interface ComponentDefinitionFactory
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.Optional<ComponentDefinition<T>> |
fromComponentClass(java.lang.Class<T> componentType,
ErrorCollector errorCollector)
コンポーネントのクラスをもとにコンポーネント定義を生成する。
|
<T> java.util.Optional<ComponentDefinition<T>> fromComponentClass(java.lang.Class<T> componentType, ErrorCollector errorCollector)
T - コンポーネントの型componentType - コンポーネントのクラスerrorCollector - バリデーションエラーを収集するクラス