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