* null
* @return the fully initialized subflow state instance
*/
public State createEndState(String id, Flow flow, Action[] entryActions, Action finalResponseAction,
Mapper outputMapper, FlowExecutionExceptionHandler[] exceptionHandlers, AttributeMap<?> attributes) {
EndState endState = new EndState(flow, id);
if (finalResponseAction != null) {
endState.setFinalResponseAction(finalResponseAction);
}
if (outputMapper != null) {
endState.setOutputMapper(outputMapper);
}
configureCommonProperties(endState, entryActions, exceptionHandlers, attributes);
return endState;
}