Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 85622 invoked from network); 12 Oct 2008 12:17:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2008 12:17:05 -0000 Received: (qmail 58316 invoked by uid 500); 12 Oct 2008 12:17:05 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 58273 invoked by uid 500); 12 Oct 2008 12:17:05 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 58264 invoked by uid 99); 12 Oct 2008 12:17:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Oct 2008 05:17:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Oct 2008 12:16:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 81D31238896F; Sun, 12 Oct 2008 05:16:44 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081012121644.81D31238896F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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