blob: 679d016011df4f4ee266c78f037a04ee299151bc [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 Wind River and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Wind River - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.internal.p2.repository;
import java.util.EventObject;
public class DownloadPauseResumeEvent extends EventObject {
private static final long serialVersionUID = 5782796765127875200L;
/**
* It means downloading job should be paused.
*/
public static final int TYPE_PAUSE = 1;
/**
* It means downloading job should be resumed.
*/
public static final int TYPE_RESUME = 2;
private int type;
public DownloadPauseResumeEvent(int type) {
super(type);
this.type = type;
}
public int getType() {
return type;
}
}