private String createWorkflowStepForRestoreNativeSnapshotSession(Workflow workflow,StorageSystem parentSystem,URI snapSessionURI,String waitFor,Workflow.Method rollbackMethod){
  URI parentSystemURI=parentSystem.getId();
  Workflow.Method restoreMethod=new Workflow.Method(RESTORE_SNAP_SESSION_METHOD_NAME,parentSystemURI,snapSessionURI,Boolean.FALSE);
  workflow.createStep(RESTORE_SNAP_SESSION_STEP,String.format("Restore snapshot session %s",snapSessionURI),waitFor,parentSystemURI,parentSystem.getSystemType(),BlockDeviceController.class,restoreMethod,rollbackMethod,null);
  _log.info("Created workflow step to restore snapshot session {}",snapSessionURI);
  return RESTORE_SNAP_SESSION_STEP;
}

private String createWorkflowStepForRestoreNativeSnapshotSession ( Workflow workflow , StorageSystem parentSystem , URI snapSessionURI , String waitFor , Workflow . Method rollbackMethod ) { URI parentSystemURI = parentSystem . getId ( ) ; Workflow . Method restoreMethod = new Workflow . Method ( RESTORE_SNAP_SESSION_METHOD_NAME , parentSystemURI , snapSessionURI , Boolean . FALSE ) ; workflow . createStep ( RESTORE_SNAP_SESSION_STEP , String . format ( "Restore snapshot session %s" , snapSessionURI ) , waitFor , parentSystemURI , parentSystem . getSystemType ( ) , BlockDeviceController . class , restoreMethod , rollbackMethod , null ) ; _log . info ( "Created workflow step to restore snapshot session {}" , snapSessionURI ) ; return RESTORE_SNAP_SESSION_STEP ; }
create a step in the passed workflow to do a native restore of the backend snapshot session with the passed uri .
