40 lines
516 B
Java
40 lines
516 B
Java
|
/**
|
||
|
*
|
||
|
*/
|
||
|
package org.gcube.data.analysis.dminvocation;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* The Enum ActionType.
|
||
|
*
|
||
|
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
||
|
* Dec 5, 2018
|
||
|
*/
|
||
|
public enum ActionType {
|
||
|
|
||
|
EDIT("edit"),
|
||
|
RUN("run");
|
||
|
|
||
|
private String action;
|
||
|
|
||
|
/**
|
||
|
* Instantiates a new action type.
|
||
|
*
|
||
|
* @param action the action
|
||
|
*/
|
||
|
ActionType(String action){
|
||
|
this.action = action;
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Gets the action.
|
||
|
*
|
||
|
* @return the action
|
||
|
*/
|
||
|
public String getAction() {
|
||
|
|
||
|
return action;
|
||
|
}
|
||
|
}
|