geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r703800 - in /geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact: ArtifactManager.java DefaultArtifactManager.java
Date Sun, 12 Oct 2008 12:16:44 GMT
Author: jdillon
Date: Sun Oct 12 05:16:44 2008
New Revision: 703800

URL: http://svn.apache.org/viewvc?rev=703800&view=rev
Log:
Add support to flip resolution on/offline

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/ArtifactManager.java
    geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/DefaultArtifactManager.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/ArtifactManager.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/ArtifactManager.java?rev=703800&r1=703799&r2=703800&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/ArtifactManager.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/ArtifactManager.java
Sun Oct 12 05:16:44 2008
@@ -38,4 +38,8 @@
     void setDownloadMonitor(TransferListener listener);
 
     ArtifactResolutionResult resolve(ArtifactResolutionRequest request) throws ResolutionException;
+
+    boolean isOnline();
+
+    void setOnline(boolean flag);
 }
\ No newline at end of file

Modified: geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/DefaultArtifactManager.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/DefaultArtifactManager.java?rev=703800&r1=703799&r2=703800&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/DefaultArtifactManager.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/DefaultArtifactManager.java
Sun Oct 12 05:16:44 2008
@@ -189,4 +189,14 @@
         
         return result;
     }
+
+    public boolean isOnline() {
+        return wagonManager.isOnline();
+    }
+
+    public void setOnline(final boolean flag) {
+        log.debug("Online: {}", flag);
+
+        wagonManager.setOnline(flag);
+    }
 }
\ No newline at end of file



Mime
View raw message