Java Doc for ShortfallAlertServlet.java in  » Science » Cougaar12_4 » org » cougaar » logistics » servlet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.logistics.servlet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.core.servlet.BaseServletComponent
   org.cougaar.logistics.servlet.ShortfallAlertServlet

ShortfallAlertServlet
public class ShortfallAlertServlet extends BaseServletComponent (Code)
A Servlet, loaded by the SimpleServletComponent, that generates HTML, XML, and serialized-Object views of Task completion information.

Inner Class :protected class ShortfallServlet extends HttpServlet
Inner Class :protected class ShortfallChecker

Field Summary
final public static  doubleDEFAULT_RED_THRESHOLD
    
final public static  doubleDEFAULT_YELLOW_THRESHOLD
    
final protected static  intMAX_AGENT_FRAMES
    
protected static  UnaryPredicateOPLAN_PREDICATE
    
protected static  UnaryPredicateORG_ACTIVITY_PREDICATE
    
final protected static  intRED_PERCENT_SHORTFALL_THRESHOLD
    
final protected static  StringRULE_CONFIG_FILE
    
final protected static  UnaryPredicateSHORTFALL_SUMMARY_PRED
    
final protected static  StringUSER_MODE
    
final protected static  intYELLOW_PERCENT_SHORTFALL_THRESHOLD
    
protected  AgentIdentificationServiceagentIdService
    
protected  AlarmServicealarmService
    
protected  BlackboardQueryServiceblackboardQueryService
    
protected static  SimpleDateFormatdayFormat
    
protected  StringencLocalAgent
    
protected static  SimpleDateFormathourFormat
    
final protected static  String[]iframeBrowsers
    
protected  MessageAddresslocalAgent
    
final protected  Objectlock
    
protected  LoggingServicelogger
    
protected  Stringpath
    
protected static  booleansetTimeZone
    
protected  booleanuserMode
    
protected  WhitePagesServicewhitePagesService
    

Constructor Summary
public  ShortfallAlertServlet()
    

Method Summary
public static  intcalcCBucket(long time, long bucketSize, long c0Day)
    
protected  ServletcreateServlet()
    
public static  StringcreateTimeString(long time, long bucketSize, long startC0Day)
    
public static  StringcreateTimeString(long time, long bucketSize, int cBucket)
    
protected  StringformURLEncode(String name)
    
protected  ListgetAllAgentNames()
    
protected  ListgetAllEncodedAgentNames()
    
protected  voidgetAndParseRules()
    
protected  StringgetDefaultPath()
    
protected  StringgetEncodedAgentName()
    
protected  StringgetPath()
    
protected  StringgetTitlePrefix()
    
public  voidload()
    
protected  CollectionqueryBlackboard(UnaryPredicate pred)
    
public  voidsetAgentIdentificationService(AgentIdentificationService agentIdService)
    
public  voidsetAlarmService(AlarmService anAlarmService)
    
public  voidsetBlackboardQueryService(BlackboardQueryService blackboardQueryService)
    
public  voidsetParameter(Object o)
    
protected  voidsetTimeZonesInit()
    
public  voidsetWhitePagesService(WhitePagesService whitePagesService)
    
public  voidunload()
    

Field Detail
DEFAULT_RED_THRESHOLD
final public static double DEFAULT_RED_THRESHOLD(Code)



DEFAULT_YELLOW_THRESHOLD
final public static double DEFAULT_YELLOW_THRESHOLD(Code)



MAX_AGENT_FRAMES
final protected static int MAX_AGENT_FRAMES(Code)



OPLAN_PREDICATE
protected static UnaryPredicate OPLAN_PREDICATE(Code)



ORG_ACTIVITY_PREDICATE
protected static UnaryPredicate ORG_ACTIVITY_PREDICATE(Code)



RED_PERCENT_SHORTFALL_THRESHOLD
final protected static int RED_PERCENT_SHORTFALL_THRESHOLD(Code)



RULE_CONFIG_FILE
final protected static String RULE_CONFIG_FILE(Code)



SHORTFALL_SUMMARY_PRED
final protected static UnaryPredicate SHORTFALL_SUMMARY_PRED(Code)



USER_MODE
final protected static String USER_MODE(Code)



YELLOW_PERCENT_SHORTFALL_THRESHOLD
final protected static int YELLOW_PERCENT_SHORTFALL_THRESHOLD(Code)



agentIdService
protected AgentIdentificationService agentIdService(Code)



alarmService
protected AlarmService alarmService(Code)



blackboardQueryService
protected BlackboardQueryService blackboardQueryService(Code)



dayFormat
protected static SimpleDateFormat dayFormat(Code)



encLocalAgent
protected String encLocalAgent(Code)



hourFormat
protected static SimpleDateFormat hourFormat(Code)



iframeBrowsers
final protected static String[] iframeBrowsers(Code)



localAgent
protected MessageAddress localAgent(Code)



lock
final protected Object lock(Code)



logger
protected LoggingService logger(Code)



path
protected String path(Code)



setTimeZone
protected static boolean setTimeZone(Code)



userMode
protected boolean userMode(Code)



whitePagesService
protected WhitePagesService whitePagesService(Code)




Constructor Detail
ShortfallAlertServlet
public ShortfallAlertServlet()(Code)




Method Detail
calcCBucket
public static int calcCBucket(long time, long bucketSize, long c0Day)(Code)



createServlet
protected Servlet createServlet()(Code)



createTimeString
public static String createTimeString(long time, long bucketSize, long startC0Day)(Code)



createTimeString
public static String createTimeString(long time, long bucketSize, int cBucket)(Code)



formURLEncode
protected String formURLEncode(String name)(Code)



getAllAgentNames
protected List getAllAgentNames()(Code)



getAllEncodedAgentNames
protected List getAllEncodedAgentNames()(Code)



getAndParseRules
protected void getAndParseRules()(Code)



getDefaultPath
protected String getDefaultPath()(Code)



getEncodedAgentName
protected String getEncodedAgentName()(Code)



getPath
protected String getPath()(Code)



getTitlePrefix
protected String getTitlePrefix()(Code)



load
public void load()(Code)



queryBlackboard
protected Collection queryBlackboard(UnaryPredicate pred)(Code)



setAgentIdentificationService
public void setAgentIdentificationService(AgentIdentificationService agentIdService)(Code)



setAlarmService
public void setAlarmService(AlarmService anAlarmService)(Code)



setBlackboardQueryService
public void setBlackboardQueryService(BlackboardQueryService blackboardQueryService)(Code)



setParameter
public void setParameter(Object o)(Code)



setTimeZonesInit
protected void setTimeZonesInit()(Code)



setWhitePagesService
public void setWhitePagesService(WhitePagesService whitePagesService)(Code)



unload
public void unload()(Code)



Fields inherited from org.cougaar.core.servlet.BaseServletComponent
protected BindingSite bindingSite(Code)(Java Doc)
protected ServiceBroker serviceBroker(Code)(Java Doc)
protected ServletService servletService(Code)(Java Doc)

Methods inherited from org.cougaar.core.servlet.BaseServletComponent
abstract protected Servlet createServlet()(Code)(Java Doc)
abstract protected String getPath()(Code)(Java Doc)
public void load()(Code)(Java Doc)
public void setBindingSite(BindingSite bindingSite)(Code)(Java Doc)
public void setParameter(Object o)(Code)(Java Doc)
public void setServiceBroker(ServiceBroker sb)(Code)(Java Doc)
public void unload()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.