Clover coverage report - Code Coverage for tapestry release 3.1-alpha-1
Coverage timestamp: Mon Feb 21 2005 09:16:14 EST
file stats: LOC: 74   Methods: 0
NCLOC: 11   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
ServiceConstants.java - - - -
coverage
 1   
 // Copyright 2004, 2005 The Apache Software Foundation
 2   
 //
 3   
 // Licensed under the Apache License, Version 2.0 (the "License");
 4   
 // you may not use this file except in compliance with the License.
 5   
 // You may obtain a copy of the License at
 6   
 //
 7   
 //     http://www.apache.org/licenses/LICENSE-2.0
 8   
 //
 9   
 // Unless required by applicable law or agreed to in writing, software
 10   
 // distributed under the License is distributed on an "AS IS" BASIS,
 11   
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12   
 // See the License for the specific language governing permissions and
 13   
 // limitations under the License.
 14   
 
 15   
 package org.apache.tapestry.services;
 16   
 
 17   
 /**
 18   
  * Defines constants for query parameters names commonly used by services.
 19   
  * 
 20   
  * @author Howard M. Lewis Ship
 21   
  * @since 3.1
 22   
  */
 23   
 public class ServiceConstants
 24   
 {
 25   
     /**
 26   
      * The name of the service responsible for processing the request.
 27   
      */
 28   
     public static final String SERVICE = "service";
 29   
 
 30   
     /**
 31   
      * The name of the page to activate when processing the service.
 32   
      */
 33   
 
 34   
     public static final String PAGE = "page";
 35   
 
 36   
     /**
 37   
      * The id path to the component within the page. By convention, this component is within the
 38   
      * {@link #PAGE}, unless {@link #CONTAINER_PAGE}  is specified.
 39   
      */
 40   
 
 41   
     public static final String COMPONENT = "component";
 42   
 
 43   
     /**
 44   
      * The name of the page containing the component; this is only specified when the component is
 45   
      * contained by a page other than the activate page ({@link #PAGE}).
 46   
      */
 47   
 
 48   
     public static final String CONTAINER = "container";
 49   
 
 50   
     /**
 51   
      * A flag indicating whether a session was active when the link was rendered. If this is true,
 52   
      * but no session is active when the request is processed, the a service may at its discression
 53   
      * throw a {@iink org.apache.tapestry.StaleLinkException}
 54   
      */
 55   
 
 56   
     public static final String SESSION = "session";
 57   
 
 58   
     /**
 59   
      * Contains a number of additional strings meaningful to the application (the term service
 60   
      * parameters is something of an entrenched misnomer, a better term would have been application
 61   
      * parameters). These parameters are typically objects that have been squeezed into strings by
 62   
      * {@link org.apache.tapestry.services.DataSqueezer}.
 63   
      */
 64   
 
 65   
     public static final String PARAMETER = "sp";
 66   
 
 67   
     /**
 68   
      * A list of all the conttants defined by this class.
 69   
      * 
 70   
      * @see org.apache.tapestry.form.Form
 71   
      */
 72   
     public static final String[] RESERVED_IDS =
 73   
     { SERVICE, PAGE, COMPONENT, CONTAINER, SESSION, PARAMETER };
 74   
 }