001// 002// JODConverter - Java OpenDocument Converter 003// Copyright 2009 Art of Solving Ltd 004// Copyright 2004-2009 Mirko Nasato 005// 006// JODConverter is free software: you can redistribute it and/or 007// modify it under the terms of the GNU Lesser General Public License 008// as published by the Free Software Foundation, either version 3 of 009// the License, or (at your option) any later version. 010// 011// JODConverter is distributed in the hope that it will be useful, 012// but WITHOUT ANY WARRANTY; without even the implied warranty of 013// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 014// Lesser General Public License for more details. 015// 016// You should have received a copy of the GNU Lesser General 017// Public License along with JODConverter. If not, see 018// <http://www.gnu.org/licenses/>. 019// 020package org.nuxeo.launcher.process; 021 022import java.io.IOException; 023 024public interface ProcessManager { 025 026 public void kill(Process process, String pid) throws IOException; 027 028 public String findPid(String regex) throws IOException; 029 030 public boolean canFindPid(); 031 032}