public class DefaultActionParameter extends Object implements ActionParameter
| Constructor and Description |
|---|
DefaultActionParameter(ActionMetadata actionMetadata,
int index,
Class<?> type,
Annotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
getAnnotations() |
int |
getIndex() |
String |
getName() |
Class<?> |
getType() |
boolean |
isContextual() |
boolean |
isNullable() |
protected String |
resolveParameterName(ActionMetadata actionMetadata,
int index) |
String |
toString() |
public DefaultActionParameter(@Nonnull ActionMetadata actionMetadata, int index, @Nonnull Class<?> type, @Nullable Annotation[] annotations)
@Nonnull protected String resolveParameterName(@Nonnull ActionMetadata actionMetadata, int index)
public int getIndex()
getIndex in interface ActionParameter@Nonnull public Annotation[] getAnnotations()
getAnnotations in interface ActionParameter@Nonnull public Class<?> getType()
getType in interface ActionParameter@Nonnull public String getName()
getName in interface ActionParameterpublic boolean isContextual()
isContextual in interface ActionParameterpublic boolean isNullable()
isNullable in interface ActionParameter