CT
- class of the view-configpublic interface ConfigDescriptor<CT>
Modifier and Type | Method and Description |
---|---|
CallbackDescriptor |
getCallbackDescriptor(Class<? extends Annotation> metaDataType)
Callbacks which are configured for this view-config and bound to the given metadata type.
|
CallbackDescriptor |
getCallbackDescriptor(Class<? extends Annotation> metaDataType,
Class<? extends Annotation> callbackType)
Callbacks which are configured for this view-config and bound to the given metadata type.
|
Class<? extends CT> |
getConfigClass() |
<T extends ExecutableCallbackDescriptor> |
getExecutableCallbackDescriptor(Class<? extends Annotation> metaDataType,
Class<? extends Annotation> callbackType,
Class<? extends T> executorType)
Callbacks which are configured for this view-config and bound to the given metadata type.
|
<T extends ExecutableCallbackDescriptor> |
getExecutableCallbackDescriptor(Class<? extends Annotation> metaDataType,
Class<? extends T> executorType)
Callbacks which are configured for this view-config and bound to the given metadata type.
|
List<Annotation> |
getMetaData()
Metadata configured for this view-config.
|
<T extends Annotation> |
getMetaData(Class<T> target)
Metadata which is configured for this view-config.
|
String |
getPath()
Returns the string representation of the resource (page, folder) represented by this view-config.
|
List<Annotation> getMetaData()
ViewMetaData
-annotated annotations which are inherited
or directly present on the view-config class.<T extends Annotation> List<T> getMetaData(Class<T> target)
ViewMetaData
-annotated annotations which are
inherited or directly present on the view-config class.target
- target typeCallbackDescriptor getCallbackDescriptor(Class<? extends Annotation> metaDataType)
metaDataType
- type of the metadata (e.g. ViewControllerRef.class)CallbackDescriptor getCallbackDescriptor(Class<? extends Annotation> metaDataType, Class<? extends Annotation> callbackType)
metaDataType
- type of the metadata (e.g. ViewControllerRef.class)callbackType
- type of the callback (e.g. PreRenderView.class)<T extends ExecutableCallbackDescriptor> T getExecutableCallbackDescriptor(Class<? extends Annotation> metaDataType, Class<? extends T> executorType)
metaDataType
- type of the metadata (e.g. ViewControllerRef.class)executorType
- type of the executor which returns a typed result (e.g. Secured.Descriptor)<T extends ExecutableCallbackDescriptor> T getExecutableCallbackDescriptor(Class<? extends Annotation> metaDataType, Class<? extends Annotation> callbackType, Class<? extends T> executorType)
metaDataType
- type of the metadata (e.g. ViewControllerRef.class)callbackType
- type of the callback (e.g. PreRenderView.class)executorType
- type of the executor which returns a typed result (e.g. Secured.Descriptor)String getPath()
Copyright © 2017 The Apache Software Foundation. All rights reserved.