WIDAR Classes

ca.nrc.widar.mccc.crm
Class CrmState

java.lang.Object
  extended by ca.nrc.widar.mccc.crm.CrmState

public class CrmState
extends java.lang.Object

WIDAR/EVLA - CRM: CrmState Class

The CRM State class.

A class which holds methods involved in generating HTML output to describe the current status of the CRM

Copyright: National Research Council of Canada and Associated Universities Inc., 2010, 2011, 2012

Since:
1.0
Author:
Dave Del Rizzo (Dave.DelRizzo@nrc.gc.ca)
 

Field Summary
static java.lang.String activeBg
           
static java.lang.String CLASSNAME
           
static java.lang.String completeBg
           
static java.lang.String greenFg
           
static java.lang.String qBg
           
static java.lang.String queueBg
           
static java.lang.String redFg
           
static java.lang.String stateBg
           
 
Constructor Summary
CrmState()
          A class containing a collection of HTML generating methods intended to describe the current working state of the CRM to an external observer.
 
Method Summary
static java.lang.String getHtmlInfoPage()
          Returns a String that is the CRM HTML description page
static java.lang.String getHtmlState()
          Returns an HTML page describing the current status of the CRM
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

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

greenFg

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

redFg

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

stateBg

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

qBg

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

activeBg

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

completeBg

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

queueBg

public static final java.lang.String queueBg
See Also:
Constant Field Values
Constructor Detail

CrmState

public CrmState()
A class containing a collection of HTML generating methods intended to describe the current working state of the CRM to an external observer.

Method Detail

getHtmlInfoPage

public static java.lang.String getHtmlInfoPage()
Returns a String that is the CRM HTML description page

Returns:
A String which contains the HTML description page for the CRM

getHtmlState

public static java.lang.String getHtmlState()
Returns an HTML page describing the current status of the CRM

Returns:
An HTML formatted String

NRAO/DRAO

National Radio Astronomy Observatory