diff options
author | Alexander Alexeev | 2016-11-13 23:45:32 +0700 |
---|---|---|
committer | Alexander Alexeev | 2016-11-13 23:45:32 +0700 |
commit | 590c650f8ac3478b31fd3fd3382c9b35284844b7 (patch) | |
tree | 950de6ee245ba45aba1b1f147ec475ac921ab291 /server-core/src/main/java/com/juick/server | |
parent | e20ab1d1f26d18211004ee8d1b64eea51d790253 (diff) |
jdbc service (repository) layer is added
Diffstat (limited to 'server-core/src/main/java/com/juick/server')
-rw-r--r-- | server-core/src/main/java/com/juick/server/helpers/ApplicationStatus.java | 10 |
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; } |