org.cougaar.pizza
Class Constants

java.lang.Object
  extended byorg.cougaar.pizza.Constants

public class Constants
extends java.lang.Object

Constants for the pizza party application. Initialized by the load of the PizzaDomain, so Roles in particular are well defined. Having a Domain-specific Constants file for Roles, Verbs, and other objects that Plugins will match on off the Blackboard is fairly typical usage.


Nested Class Summary
static interface Constants.Prepositions
          Special Prepositions used by the pizza application
static interface Constants.RelationshipTypes
          Relationship Types needed by the Pizza application
static class Constants.Roles
          Roles used on Assets in the Pizza application.
static interface Constants.UDDIConstants
          Constants needed for ServiceDiscovery in the Pizza application.
static interface Constants.Verbs
          Verbs used by the Pizza application plugins.
 
Field Summary
static java.lang.String COMMUNITY
          Name of Alice's buddy list - her friends to invite.
static java.lang.String CUSTOMER_SUFFIX
           
static int EXPECTED_NUM_FRIENDS
          used when showing how long it takes for this number of friends to reply
static java.lang.String INVITATION_QUERY
           
static java.lang.String MEAT_PIZZA
           
static java.lang.String PIZZA
           
static java.lang.String PROVIDER_SUFFIX
           
static java.lang.String VEGGIE_PIZZA
           
 
Method Summary
static java.lang.String getDataPath()
          Returns the path to the data files required to support the pizza application e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIZZA

public static final java.lang.String PIZZA
See Also:
Constant Field Values

INVITATION_QUERY

public static final java.lang.String INVITATION_QUERY
See Also:
Constant Field Values

MEAT_PIZZA

public static final java.lang.String MEAT_PIZZA
See Also:
Constant Field Values

VEGGIE_PIZZA

public static final java.lang.String VEGGIE_PIZZA
See Also:
Constant Field Values

COMMUNITY

public static final java.lang.String COMMUNITY
Name of Alice's buddy list - her friends to invite.

See Also:
Constant Field Values

PROVIDER_SUFFIX

public static final java.lang.String PROVIDER_SUFFIX
See Also:
Constant Field Values

CUSTOMER_SUFFIX

public static final java.lang.String CUSTOMER_SUFFIX
See Also:
Constant Field Values

EXPECTED_NUM_FRIENDS

public static final int EXPECTED_NUM_FRIENDS
used when showing how long it takes for this number of friends to reply

See Also:
Constant Field Values
Method Detail

getDataPath

public static java.lang.String getDataPath()
Returns the path to the data files required to support the pizza application e.g. $COUGAAR_INSTALL_PATH/pizza/data Used by ServiceDiscovery in particular.

Returns:
a string representing the file path