Interface PreparedDataOperation<R>

    • Field Summary

      • Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

        EMPTY
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default <RT> java.util.Optional<RT> getParameterInRole​(java.lang.String role, java.lang.Class<RT> type)
      Return the value of the given parameter if the given role.
      • Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

        findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
      • Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

        getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
      • Methods inherited from interface io.micronaut.core.attr.AttributeHolder

        getAttribute, getAttribute, getAttributes
    • Method Detail

      • getParameterInRole

        default <RT> java.util.Optional<RT> getParameterInRole​(@NonNull
                                                               java.lang.String role,
                                                               @NonNull
                                                               java.lang.Class<RT> type)
        Return the value of the given parameter if the given role.
        Type Parameters:
        RT - The generic type
        Parameters:
        role - The role
        type - The type
        Returns:
        An optional value.