it.unibo.alchemist.core.interfaces.Status Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alchemist-interfaces Show documentation
Show all versions of alchemist-interfaces Show documentation
Interfaces of core and model components of Alchemist
/*
* Copyright (C) 2010-2014, Danilo Pianini and contributors
* listed in the project's pom.xml file.
*
* This file is part of Alchemist, and is distributed under the terms of
* the GNU General Public License, with a linking exception, as described
* in the file LICENSE in the Alchemist distribution's top directory.
*/
/**
*
*/
package it.unibo.alchemist.core.interfaces;
/**
*
* This enum represents the possible states in which a Simulation could
* be.
*
*/
//please note that changing the order of the elements may broke the compareTo method in Simulation
public enum Status {
/**
* The simulation is being initialized.
*/
INIT,
/**
* The simulation is ready to be started.
*/
READY,
/**
* The simulation is paused. It can be resumed.
*/
PAUSED,
/**
* The simulation is currently running.
*/
RUNNING,
/**
* The simulation is stopped. It is no longer possible to resume
* it.
*/
TERMINATED;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy