48 lines
1.2 KiB
Java
48 lines
1.2 KiB
Java
package org.gcube.portlets.user.dataminermanagertester.shared.config;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi
|
|
*
|
|
*
|
|
*/
|
|
public enum TestType {
|
|
Capabilities("Capabilities"), DBScan("DBScan"), BionymLocal("Bionym Local"), CMSY2("CMSY 2"), CSquareColumnCreator(
|
|
"CSquare Column Creator"), FeedForwardAnn("Feed Forward ANN"), GenericCharts("Generic Charts"), ListDBName(
|
|
"List DB Name"), OpenMeshRecostructorGPU("Open Mesh Recostructor GPU"), PolygonsToMap(
|
|
"Polygons To Map"), RasterDataPublisher("Raster Data Publisher"), XYExtractor(
|
|
"XYExtractor"), WebAppPublisher("Web App Publisher");
|
|
|
|
private TestType(final String id) {
|
|
this.id = id;
|
|
***REMOVED***
|
|
|
|
private final String id;
|
|
|
|
@Override
|
|
public String toString() {
|
|
return id;
|
|
***REMOVED***
|
|
|
|
public String getLabel() {
|
|
return id;
|
|
***REMOVED***
|
|
|
|
public boolean compareId(String identificator) {
|
|
if (identificator.compareTo(id) == 0) {
|
|
return true;
|
|
***REMOVED*** else {
|
|
return false;
|
|
***REMOVED***
|
|
***REMOVED***
|
|
|
|
public static TestType getTypeFromId(String id) {
|
|
for (TestType testType : values()) {
|
|
if (testType.id.compareToIgnoreCase(id) == 0) {
|
|
return testType;
|
|
***REMOVED***
|
|
***REMOVED***
|
|
return null;
|
|
***REMOVED***
|
|
|
|
***REMOVED*** |