package com.monits.agilefant.model;

public enum StateKey {

	NOT_STARTED("Not Started"),
	STARTED("Started"),
	PENDING("Pending"),
	BLOCKED("Blocked"),
	IMPLEMENTED("Ready"),
	DONE("Done"),
	DEFERRED("Deferred");

	private String state;

	/**
	 * Constructor.
	 * @param state
	 */
	private StateKey (String state){
		this.state = state;
	}

	/**
	 * @return State
	 */
	public String getState() {
		return state;
	}

	/**
	 * @return returns a list with the {@link StateKey} values, in human readable form to display.
	 */
	public static String[] getDisplayStates() {
		StateKey[] stateKeys = StateKey.values();
		String [] taskStates = new String[stateKeys.length];
		for (int i = 0 ; i < stateKeys.length ; i++) {
			taskStates[i] = stateKeys[i].getState();
		}

		return taskStates;
	}

}

@@ -93,23 +93,27 @@
 TARTED(%22
-Started
+In Progress
 %22),%0A%09PEN

replace Started state for In Progress state