de.hs_rm.cs.lecturenotes.server.configuration
Enum ServerConfigKeyEnum

java.lang.Object
  extended by java.lang.Enum<ServerConfigKeyEnum>
      extended by de.hs_rm.cs.lecturenotes.server.configuration.ServerConfigKeyEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ServerConfigKeyEnum>

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

Key Names for the web.xml configuration file. Contains values for system settings and system policy.

Version:
$LastChangedRevision: 319 $
Author:
Enrico Homann

Enum Constant Summary
SHELLCOMMAND_PDFLATEX
          Shell Command pdflatex.
WEBXML_CONTEXTPARAM_ALLOW_LECTURE_MEDIAUPLOAD_FOR_OWNERONLY
          Key Variable Name in web.xml to adjust the system policy.
WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_EXTRACTCODE
          Key Variable Name in web.xml to directory of lecture extracted source code.
WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_IMAGESPRINT
          Key Variable Name in web.xml to directory of lecture files.
WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_IMAGESWEB
          Key Variable Name in web.xml to directory of lecture files.
 
Method Summary
static ServerConfigKeyEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ServerConfigKeyEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_IMAGESWEB

public static final ServerConfigKeyEnum WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_IMAGESWEB
Key Variable Name in web.xml to directory of lecture files. Images Web.


WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_IMAGESPRINT

public static final ServerConfigKeyEnum WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_IMAGESPRINT
Key Variable Name in web.xml to directory of lecture files. Images Print.


WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_EXTRACTCODE

public static final ServerConfigKeyEnum WEBXML_CONTEXTPARAM_FS_RELATIVEPATH_LECTUREFILES_EXTRACTCODE
Key Variable Name in web.xml to directory of lecture extracted source code.


WEBXML_CONTEXTPARAM_ALLOW_LECTURE_MEDIAUPLOAD_FOR_OWNERONLY

public static final ServerConfigKeyEnum WEBXML_CONTEXTPARAM_ALLOW_LECTURE_MEDIAUPLOAD_FOR_OWNERONLY
Key Variable Name in web.xml to adjust the system policy. The system allows only the owner of the lecture to upload media files if set to true or any registered user if set to false.


SHELLCOMMAND_PDFLATEX

public static final ServerConfigKeyEnum SHELLCOMMAND_PDFLATEX
Shell Command pdflatex.

Method Detail

values

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

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

valueOf

public static ServerConfigKeyEnum 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
java.lang.NullPointerException - if the argument is null