Project

General

Profile

« Previous | Next » 

Revision 46676

added some common classes and enums

View differences:

modules/dnet-springboot-apps/trunk/dnet-common-utils/src/main/java/eu/dnetlib/msro/workflows/ProcessStatus.java
1
package eu.dnetlib.msro.workflows;
2

  
3
public enum ProcessStatus {
4
	CREATED, EXECUTING, SUCCESS, FAILURE, KILLED;
5
}
modules/dnet-springboot-apps/trunk/dnet-common-utils/src/main/java/eu/dnetlib/msro/workflows/StartMode.java
1
package eu.dnetlib.msro.workflows;
2

  
3
public enum StartMode {
4
	AUTO, MANUAL, DISABLED
5
}
modules/dnet-springboot-apps/trunk/dnet-common-utils/src/main/java/eu/dnetlib/msro/workflows/NotificationCondition.java
1
package eu.dnetlib.msro.workflows;
2

  
3
public enum NotificationCondition {
4
	ALWAYS, NEVER, ONLY_SUCCESS, ONLY_FAILED
5
}
modules/dnet-springboot-apps/trunk/dnet-common-utils/src/main/java/eu/dnetlib/msro/workflows/WorkflowStatus.java
1
package eu.dnetlib.msro.workflows;
2

  
3
public enum WorkflowStatus {
4
	EXECUTABLE("Executable", "icon-ok"), WAIT_USER_SETTINGS("Waiting user settings", "icon-edit"), WAIT_SYS_SETTINGS("Waiting system settings",
5
			"icon-refresh");
6

  
7
	public String displayName;
8
	public String icon;
9

  
10
	WorkflowStatus(final String displayName, final String icon) {
11
		this.displayName = displayName;
12
		this.icon = icon;
13
	}
14
}

Also available in: Unified diff