Class SceneCall
-
Constructor Summary
ConstructorsConstructorDescriptionSceneCall(Scene scene, ResolverBundle resolverBundle, String outputVariableStoreName) Creates an instance of this class. -
Method Summary
Modifier and TypeMethodDescriptioncom.github.dakusui.actionunit.core.ActionReturns an action, which marks the beginning of a sequence of main actions.com.github.dakusui.actionunit.core.ActionReturns an action, which marks an ending of a sequence of main actions.oid()Returns an object identifier of this object.A name of "output" variable store, where thisSceneCallwrites its final result at the end of execution.Returns a bundle of variable resolvers of this object.Returns aSceneobject targeted by this call.com.github.dakusui.actionunit.core.ActiontoAction(ActionComposer actionComposer) Converts this call to action to an action object.workingVariableStore(com.github.dakusui.actionunit.core.Context context) Returns currently ongoing working variable store.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jp.co.moneyforward.autotest.framework.action.WithOid
workingVariableStoreName
-
Constructor Details
-
SceneCall
Creates an instance of this class.
outputVariableStoreName specifies a name of a context variable (actionunit), to which the output of
sceneis written.resolverBundleis used to compute input variable values.- Parameters:
scene- A scene to be performed by this call.resolverBundle- A bundle of resolvers.outputVariableStoreName- A name of variable store, to which thescenewrites its output.
-
-
Method Details
-
toAction
Description copied from interface:CallConverts this call to action to an action object.
This is an
Node#acceptmethod in the Visitor pattern. Usually implementations of this method should call back byactionComposer#create(this)to make a double dispatch happen.Each value in the
ongoingResolverBundleis a function that resolves a value of a variable designated by a corresponding key. -
oid
-
targetScene
-
outputVariableStoreName
A name of "output" variable store, where thisSceneCallwrites its final result at the end of execution.- Returns:
- A name of variable store, which this
SceneCallwrites its result to.
-
resolverBundle
Returns a bundle of variable resolvers of this object.- Returns:
- A bundle of variable resolvers.
-
workingVariableStore
-
begin
public com.github.dakusui.actionunit.core.Action begin(List<String> ongoingWorkingVariableStoreNames) Returns an action, which marks the beginning of a sequence of main actions.
The action copies a map of the InsDog's framework variables for this scene call to a context variable whose name is computed by
workingVariableStoreNameFor(this.targetScene().oid()).- Returns:
- An action, which marks the beginning of a sequence of main actions.
-
end
Returns an action, which marks an ending of a sequence of main actions.
The action copies to a map of the InsDog's framework variables for this scene call from a context variable whose name is computed by
workingVariableStoreNameFor(this.targetScene().oid()).- Returns:
- An action, which marks an ending of a sequence of main actions.
-