public class DefaultActionMetadata extends Object implements ActionMetadata
Constructor and Description |
---|
DefaultActionMetadata(GriffonController controller,
String actionName,
Method method) |
Modifier and Type | Method and Description |
---|---|
protected ActionParameter |
createActionParameter(int index,
Class<?> type,
Annotation[] annotations) |
String |
getActionName() |
Annotation[] |
getAnnotations() |
String |
getFullyQualifiedName() |
ActionParameter[] |
getParameters() |
Class<?> |
getReturnType() |
boolean |
hasContextualArgs() |
String |
toString() |
@Nonnull protected ActionParameter createActionParameter(int index, @Nonnull Class<?> type, @Nullable Annotation[] annotations)
@Nonnull public Annotation[] getAnnotations()
getAnnotations
in interface ActionMetadata
@Nonnull public Class<?> getReturnType()
getReturnType
in interface ActionMetadata
@Nonnull public ActionParameter[] getParameters()
getParameters
in interface ActionMetadata
@Nonnull public String getActionName()
getActionName
in interface ActionMetadata
@Nonnull public String getFullyQualifiedName()
getFullyQualifiedName
in interface ActionMetadata
public boolean hasContextualArgs()
hasContextualArgs
in interface ActionMetadata