blob: daa7d96211e77a2024fa95349a44cc312ecdb141 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2009 compeople AG 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:
* compeople AG (Stefan Liebig) - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.internal.provisional.p2.repository;
import org.eclipse.core.runtime.IStatus;
/**
* Implementing <code>IStateful</code> adds the ability to store status information.
*/
public interface IStateful {
/**
* Set the status.
*
* @param status if status equals null => getStatus().isOK
*/
void setStatus(IStatus status);
/**
* Get status.
* @return status
*/
public IStatus getStatus();
}