From a70b43cde76b4baab82b4ce0d9ff82883f80b8df Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 26 Oct 2011 17:54:07 -0400
Subject: [PATCH] Added status icon

---
 src/com/gitblit/models/ServerStatus.java |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/com/gitblit/models/ServerStatus.java b/src/com/gitblit/models/ServerStatus.java
index 8dfc0fb..1c40b5f 100644
--- a/src/com/gitblit/models/ServerStatus.java
+++ b/src/com/gitblit/models/ServerStatus.java
@@ -33,18 +33,23 @@
 
 	public final Date bootDate;
 	
+	public final boolean isGO;
+	
 	public final Map<String, String> systemProperties;
 
-	public final long heapSize;
+	public final long heapMaximum;
 
 	public volatile long heapAllocated;
 	
 	public volatile long heapFree;
+	
+	public String servletContainer;
 
-	public ServerStatus() {
+	public ServerStatus(boolean isGO) {
 		bootDate = new Date();
+		this.isGO = isGO;
 		
-		heapSize = Runtime.getRuntime().maxMemory();
+		heapMaximum = Runtime.getRuntime().maxMemory();
 		
 		systemProperties = new TreeMap<String, String>();
 		put("file.encoding");

--
Gitblit v1.9.1