geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r703804 - /geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/settings/SettingsModel.java
Date Sun, 12 Oct 2008 12:17:34 GMT
Author: jdillon
Date: Sun Oct 12 05:17:33 2008
New Revision: 703804

URL: http://svn.apache.org/viewvc?rev=703804&view=rev
Log:
Added online flag

Modified:
    geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/settings/SettingsModel.java

Modified: geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/settings/SettingsModel.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/settings/SettingsModel.java?rev=703804&r1=703803&r2=703804&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/settings/SettingsModel.java
(original)
+++ geronimo/gshell/trunk/gshell-model/src/main/java/org/apache/geronimo/gshell/model/settings/SettingsModel.java
Sun Oct 12 05:17:33 2008
@@ -38,6 +38,8 @@
 {
     private Properties properties;
 
+    private boolean online;
+
     // TODO: Proxies
 
     private List<RemoteRepository> remoteRepositories;
@@ -58,6 +60,14 @@
         this.properties = properties;
     }
 
+    public boolean isOnline() {
+        return online;
+    }
+
+    public void setOnline(final boolean online) {
+        this.online = online;
+    }
+
     public List<RemoteRepository> remoteRepositories() {
         if (remoteRepositories == null) {
             remoteRepositories = new ArrayList<RemoteRepository>();



Mime
View raw message