package org.nbk4.gwt.action.client; import java.io.Serializable; import com.google.gwt.user.client.rpc.IsSerializable; public enum RequestType implements Serializable, IsSerializable{ PROCESS_FILE(0), CANCEL_FILE_PROCESSING(1), CANCEL_BUILD_ACTION(2), RESPONSE_ALERT_WINDOW(3); private int value; private RequestType(int value){ this.setValue(value); } public int getValue() { return value; } private void setValue(int value) { this.value = value; } }