.getCurrentState()));
return new HelixStateTransitionHandler(stateModelFactory, stateModel, message, context,
currentStateDelta);
} else {
BatchMessageWrapper wrapper =
stateModelFactory.getBatchMessageWrapper(resourceId.stringify());
if (wrapper == null) {
wrapper = stateModelFactory.createAndAddBatchMessageWrapper(resourceId.stringify());
}