Overview  Package   Class  Tree  Index 

be.lassi.web
Enum MainPage

java.lang.Object
  extended by java.lang.Enum<MainPage>
      extended by be.lassi.web.MainPage
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MainPage>

public enum MainPage
extends java.lang.Enum<MainPage>

Defines the main pages in the web-site.


Enum Constant Summary
COVERAGE
          Main page for code coverage analysis report.
DEMOS
          Main page for demos.
DOWNLOAD
          Download page.
FEEDBACK
          Page with feedback form.
FORUM
          Page with information about the forum.
HOME
          The home page.
MANUAL
          Main page for user documentation.
TESTS
          Page with JUnit test report.
TUTORIALS
          Main page for demos.
 
Method Summary
 java.lang.String getHelpText()
          Gets the help text to be displayed for this page.
 java.lang.String getName()
          Gets the name of this page.
 java.lang.String getUrl()
          Gets the URL of this page.
static MainPage valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MainPage[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COVERAGE

public static final MainPage COVERAGE
Main page for code coverage analysis report.


DEMOS

public static final MainPage DEMOS
Main page for demos.


DOWNLOAD

public static final MainPage DOWNLOAD
Download page.


FEEDBACK

public static final MainPage FEEDBACK
Page with feedback form.


FORUM

public static final MainPage FORUM
Page with information about the forum.


HOME

public static final MainPage HOME
The home page.


MANUAL

public static final MainPage MANUAL
Main page for user documentation.


TESTS

public static final MainPage TESTS
Page with JUnit test report.


TUTORIALS

public static final MainPage TUTORIALS
Main page for demos.

Method Detail

getHelpText

public java.lang.String getHelpText()
Gets the help text to be displayed for this page.

Returns:
the page help text

getName

public java.lang.String getName()
Gets the name of this page.

Returns:
the page name

getUrl

public java.lang.String getUrl()
Gets the URL of this page.

Returns:
the page URL

valueOf

public static MainPage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

values

public static final MainPage[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MainPage c : MainPage.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2