protected class TestBase.ActionCall extends ActionRef
async, clientValidation, condition, eventId, forceForward, id, onSuccess, params, permissions
Modifier and Type | Method and Description |
---|---|
TestBase.ActionCall |
clearParams() |
CallableAction |
getCallableAction(Object form)
Returns the
CallableAction . |
<T> T |
getForm()
Returns the initial form for the action, i.e.
|
Params |
getParams()
Gets the value of the params property.
|
Action |
initialize()
Returns the
Action in it's initial state, meaning the action is initialized with the original data
coming from DataProvider , but not performed. |
TestBase.ActionCall |
withParam(String name,
String value)
|
getAsync, getClientValidation, getCondition, getEventId, getId, getOnSuccess, getPermissions, isForceForward, setAsync, setClientValidation, setCondition, setEventId, setForceForward, setId, setOnSuccess, setParams, setPermissions
public Params getParams()
ActionRef
public TestBase.ActionCall clearParams()
public TestBase.ActionCall withParam(String name, String value)
name
- the name of the Param
value
- the valuepublic CallableAction getCallableAction(Object form) throws ProcessingException
CallableAction
.form
- an instance of the bind-object used by the Action
. The type must be compatible with
MetaData.getBindClass()
of the Datasource
that is used by the Action
.CallableAction
ProcessingException
- if an error occurs while assembling the CallableActionpublic Action initialize() throws ProcessingException
Action
in it's initial state, meaning the action is initialized with the original data
coming from DataProvider
, but not performed.Action
ProcessingException
- if an error occurs while assembling the Actionpublic <T> T getForm() throws ProcessingException
Datasource
, if any. This is done by
directly calling
DataProvider.getData(Site, Application, Environment, org.appng.api.Options, Request, FieldProcessor)
and then returning the result of DataContainer.getItem()
.null
ProcessingException
- if an error occurs while retrieving the dataCopyright © 2011–2019 aiticon GmbH. All rights reserved.