How can I (unsafely) delete a stream using the plain java API?
I am trying to delete a stream using plain java API. This works:
But I need to provide a workspace to save a snapshot of the stream. The UI has an option to just delete the stream without creating a snapshot. Does anyone know where that is in the API? I assume there's a way to do it??
Andy
public static void deleteStream(final RtcSession session,IWorkspaceConnection stream_to_delete, IWorkspaceConnection workspace_for_snapshot) throws TeamRepositoryException{ final IWorkspaceManager wm = SCMPlatform.getWorkspaceManager(session.getRepo()); wm.safelyDeleteStream((IWorkspaceHandle) stream_to_delete.getContextHandle(), workspace_for_snapshot, session.getMonitor());
}
But I need to provide a workspace to save a snapshot of the stream. The UI has an option to just delete the stream without creating a snapshot. Does anyone know where that is in the API? I assume there's a way to do it??
Andy