Skip to content

Commit

Permalink
Merge pull request searchbox-io#502 from graylog-labs/health-enums-pu…
Browse files Browse the repository at this point in the history
…blic

Make Health.Status and Health.Level public
  • Loading branch information
ferhatsb authored Apr 30, 2017
2 parents 6084f62 + 7668a0f commit a750be7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest-common/src/main/java/io/searchbox/cluster/Health.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @author Neil Gentleman
*/
public class Health extends GenericResultAbstractAction {
enum Status {
public enum Status {
RED("red"), YELLOW("yellow"), GREEN("green");

private final String key;
Expand All @@ -27,7 +27,7 @@ public String getKey() {
}
}

enum Level {
public enum Level {
CLUSTER("cluster"), INDICES("indices"), SHARDS("shards");

private final String key;
Expand Down

0 comments on commit a750be7

Please sign in to comment.