aboutsummaryrefslogtreecommitdiff
path: root/server-core/src/main/java/com/juick/server
diff options
context:
space:
mode:
Diffstat (limited to 'server-core/src/main/java/com/juick/server')
-rw-r--r--server-core/src/main/java/com/juick/server/helpers/ApplicationStatus.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/server-core/src/main/java/com/juick/server/helpers/ApplicationStatus.java b/server-core/src/main/java/com/juick/server/helpers/ApplicationStatus.java
index 986c8275..61109c47 100644
--- a/server-core/src/main/java/com/juick/server/helpers/ApplicationStatus.java
+++ b/server-core/src/main/java/com/juick/server/helpers/ApplicationStatus.java
@@ -1,5 +1,7 @@
package com.juick.server.helpers;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
/**
* Created by vt on 03/09/16.
*/
@@ -7,6 +9,14 @@ public class ApplicationStatus {
private boolean connected;
private boolean crosspostEnabled;
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this)
+ .append("connected", connected)
+ .append("crosspostEnabled", crosspostEnabled)
+ .toString();
+ }
+
public boolean isConnected() {
return connected;
}