Interface ManagedFunctionObjectTypeBuilder<M extends Enum<M>>
- All Known Implementing Classes:
ManagedFunctionObjectTypeImpl
public interface ManagedFunctionObjectTypeBuilder<M extends Enum<M>>
Provides means for the
ManagedFunctionSource to provide a
type definition of a dependency Object required by the
ManagedFunction.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(Object annotation) Adds an annotation.intgetIndex()Obtains the index of the dependency.Specifies theEnumfor thisManagedFunctionObjectTypeBuilder.Provides means to specify a display label for theObject.setTypeQualifier(String qualifier) Specifies the type qualifier.
-
Method Details
-
getIndex
int getIndex()Obtains the index of the dependency.- Returns:
- Index of the dependency.
-
setKey
Specifies theEnumfor thisManagedFunctionObjectTypeBuilder. This is required to be set ifMis notNoneorIndexed.- Parameters:
key-Enumfor thisManagedFunctionObjectTypeBuilder.- Returns:
this.
-
setTypeQualifier
Specifies the type qualifier.- Parameters:
qualifier- Type qualifier.- Returns:
this.
-
setLabel
Provides means to specify a display label for the
Object.This need not be set as is only an aid to better identify the
Object. If not set theManagedFunctionTypeBuilderwill use the following order to get a display label:Enumkey name- index value
- Parameters:
label- Display label for theObject.- Returns:
this.
-
addAnnotation
Adds an annotation.- Parameters:
annotation- Annotation.- Returns:
this.
-