2017-01-29 15:57:30 +02:00

17 lines
274 B
Java

package com.baeldung.sparkjava;
public enum StatusResponse {
SUCCESS("Success"), ERROR("Error");
final private String status;
StatusResponse(String status) {
this.status = status;
}
public String getStatus() {
return status;
}
}