Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 18042 invoked from network); 12 Oct 2005 18:57:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2005 18:57:15 -0000 Received: (qmail 36194 invoked by uid 500); 12 Oct 2005 18:57:12 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 36000 invoked by uid 500); 12 Oct 2005 18:57:11 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 35989 invoked by uid 500); 12 Oct 2005 18:57:11 -0000 Received: (qmail 35986 invoked by uid 99); 12 Oct 2005 18:57:11 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Oct 2005 11:57:11 -0700 Received: (qmail 17905 invoked by uid 65534); 12 Oct 2005 18:56:51 -0000 Message-ID: <20051012185651.17903.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r314997 - /jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/Command.java Date: Wed, 12 Oct 2005 18:56:51 -0000 To: commons-cvs@jakarta.apache.org From: germuska@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: germuska Date: Wed Oct 12 11:56:48 2005 New Revision: 314997 URL: http://svn.apache.org/viewcvs?rev=314997&view=rev Log: add constants to help keep return intentions clear Modified: jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/Command.java Modified: jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/Command.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/Command.java?rev=314997&r1=314996&r2=314997&view=diff ============================================================================== --- jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/Command.java (original) +++ jakarta/commons/proper/chain/trunk/src/java/org/apache/commons/chain/Command.java Wed Oct 12 11:56:48 2005 @@ -78,7 +78,19 @@ public interface Command { + /** + *

Commands should return CONTINUE_PROCESSING if the processing + * of the given {@link Context} should be delegated to a subsequent + * {@link Command} in an enclosing {@link Chain}

+ */ + public static final boolean CONTINUE_PROCESSING = false; + /** + *

Commands should return PROCESSING_COMPLETE + * if the processing of the given {@link Context} + * has been completed.

+ */ + public static final boolean PROCESSING_COMPLETE = true; /** *

Execute a unit of processing work to be performed. This * {@link Command} may either complete the required processing --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org