Merge branch '1.4.x' into 1.5.x
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -38,22 +38,25 @@ import org.springframework.util.ObjectUtils;
|
||||
public final class Status {
|
||||
|
||||
/**
|
||||
* Convenient constant value representing unknown state.
|
||||
* {@link Status} indicating that the component or subsystem is in an unknown state.
|
||||
*/
|
||||
public static final Status UNKNOWN = new Status("UNKNOWN");
|
||||
|
||||
/**
|
||||
* Convenient constant value representing up state.
|
||||
* {@link Status} indicating that the component or subsystem is functioning as
|
||||
* expected.
|
||||
*/
|
||||
public static final Status UP = new Status("UP");
|
||||
|
||||
/**
|
||||
* Convenient constant value representing down state.
|
||||
* {@link Status} indicating that the component or subsystem has suffered an
|
||||
* unexpected failure.
|
||||
*/
|
||||
public static final Status DOWN = new Status("DOWN");
|
||||
|
||||
/**
|
||||
* Convenient constant value representing out-of-service state.
|
||||
* {@link Status} indicating that the component or subsystem has been taken out of
|
||||
* service and should not be used.
|
||||
*/
|
||||
public static final Status OUT_OF_SERVICE = new Status("OUT_OF_SERVICE");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user