001/*
002 * (C) Copyright 2006-2013 Nuxeo SA (http://nuxeo.com/) and contributors.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl-2.1.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *     Nuxeo - initial API and implementation
016 *
017 */
018package org.nuxeo.ecm.platform.picture.magick;
019
020import java.util.List;
021
022/**
023 * Wraps the exec result of an ImageMagick command line.
024 *
025 * @author tiry
026 * @deprecated Since 5.7.3. Not used, duplicates {@link org.nuxeo.ecm.platform.commandline.executor.api.ExecResult}
027 */
028@Deprecated
029public class ExecResult {
030
031    protected List<String> output;
032
033    protected long execTime;
034
035    public ExecResult(List<String> output, long execTime) {
036        this.execTime = execTime;
037        this.output = output;
038    }
039
040    public List<String> getOutput() {
041        return output;
042    }
043
044    public long getExecTime() {
045        return execTime;
046    }
047
048}