public class Action extends Object
Constructor and Description |
---|
Action() |
public Class<?> getTargetException()
public void setTargetException(Class<?> targetException)
public DataTypeMap getRequestTypes()
public void setRequestTypes(DataTypeMap requestTypes)
public DataTypeMap getResponseTypes()
public void setResponseTypes(DataTypeMap responseTypes)
public String getName()
public void setName(String name)
public void addParameter(ParameterAction value)
public ParameterAction getParameter(int index)
public void removeParameter(int index)
public List<ParameterAction> getParameters()
public void setParameters(List<ParameterAction> parameters)
public ThrowableSafeData getThrowsSafeOnAction(Class<?> thr)
public ThrowableSafeData getThrowsSafe(Class<?> thr)
public void setThrowsSafe(ThrowableSafeData thr)
public int getParamterSize()
public Class<?> getParameterType(int index)
public Type getGenericParameterType(int index)
public Method getMethod()
public void setMethod(Method method)
public String getView()
public void setView(String view)
public Controller getController()
public void setController(Controller controller)
public boolean isRedirect()
public void setRedirect(boolean redirect)
public DispatcherType getDispatcherType()
public void setDispatcherType(DispatcherType dispatcherType)
public void flush()
public Class<?>[] getParameterClass()
public String getExecutor()
public void setExecutor(String value)
public Object invoke(Object source, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public boolean isAbstract()
public String getSimpleName()
public void setSimpleName(String simpleName)
public ActionID getId()
public void setId(ActionID value)
public Map<Class<?>,ThrowableSafeData> getThrowsSafe()
public void setThrowsSafe(Map<Class<?>,ThrowableSafeData> throwsSafe)
public boolean isReturnRendered()
public void setReturnRendered(boolean returnRendered)
public boolean isResolvedView()
public void setResolvedView(boolean resolvedView)
public Validator getParametersValidator()
public void setParametersValidator(Validator parametersValidator)
public Validator getResultValidator()
public void setResultValidator(Validator resultValidator)
public ResultAction getResultAction()
public void setResultAction(ResultAction resultAction)
public long getCode()
public void setCode(long code)
public static final long getNextId()
Copyright © 2018 Brandao. All rights reserved.