blob: 46c53acdbd6cf09e7205de841bde3b6c8f6ccdb2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
* yyyymmdd bug Email and other contact information
* -------- -------- -----------------------------------------------------------
* 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
*******************************************************************************/
package org.eclipse.jst.ws.axis.consumption.core.tests.util;
import org.eclipse.core.runtime.NullProgressMonitor;
public class StdoutProgressMonitor extends NullProgressMonitor
{
public void beginTask(String name, int totalWork)
{
System.out.println("[Progress] "+name+", "+totalWork+" unit(s) remaining).");
}
public void done()
{
System.out.println("[Progress] Done.");
}
public void setTaskName(String name)
{
System.out.println("[Progress] "+name);
}
public void subTask(String name)
{
System.out.println("[Progress] "+name);
}
public void worked(int work)
{
System.out.println("[Progress] "+work+" unit(s) completed.");
}
}