40 lines
1.3 KiB
Java
40 lines
1.3 KiB
Java
/****************************************************************************
|
|
* This software is part of the gCube Project.
|
|
* Site: http://www.gcube-system.org/
|
|
****************************************************************************
|
|
* The gCube/gCore software is licensed as Free Open Source software
|
|
* conveying to the EUPL (http://ec.europa.eu/idabc/eupl).
|
|
* The software and documentation is provided by its authors/distributors
|
|
* "as is" and no expressed or
|
|
* implied warranty is given for its use, quality or fitness for a
|
|
* particular case.
|
|
****************************************************************************
|
|
* Filename: RunningMode.java
|
|
****************************************************************************
|
|
* @author <a href="mailto:daniele.strollo@isti.cnr.it">Daniele Strollo</a>
|
|
***************************************************************************/
|
|
|
|
package org.gcube.resourcemanagement.support.shared.types;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* @author Daniele Strollo (ISTI-CNR)
|
|
*
|
|
*/
|
|
public enum RunningMode implements Serializable {
|
|
PORTAL("PortalMode"),
|
|
STANDALONE("StandaloneMode"),
|
|
NOTDEFINED("NotDefined");
|
|
|
|
private String mode = null;
|
|
|
|
private RunningMode(final String mode) {
|
|
this.mode = mode;
|
|
}
|
|
@Override
|
|
public final String toString() {
|
|
return this.mode;
|
|
}
|
|
}
|