org.safs.rational
Class Domains

java.lang.Object
  extended by org.safs.rational.Domains

public class Domains
extends java.lang.Object

Since:
Jan 30, 2006

Field Summary
static java.lang.String[] domains
           
static java.lang.String HTML_DOMAIN
           
static java.lang.String JAVA_DOMAIN
           
static java.lang.String NET_DOMAIN
           
static java.lang.String WIN_DOMAIN
           
 
Constructor Summary
Domains()
           
 
Method Summary
static void disableDomain(java.lang.String domainname)
          Disable a specified test domain.
static void enableDomain(java.lang.String domainname)
          Enable a specified test domain.
static boolean isDomainEnabled(java.lang.String domainname)
          Returns true if the specified test domain is enabled.
static boolean isHtmlEnabled()
          Returns the _htmlEnabled.
static boolean isJavaEnabled()
          Returns the _javaEnabled.
static boolean isNetEnabled()
          Returns the _netEnabled.
static boolean isWinEnabled()
          Returns the _winEnabled.
static void setHtmlEnabled(boolean enabled)
          Sets the _htmlEnabled.
static void setJavaEnabled(boolean enabled)
          Sets the _javaEnabled.
static void setNetEnabled(boolean enabled)
          Sets the _netEnabled.
static void setWinEnabled(boolean enabled)
          Sets the _winEnabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_DOMAIN

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

HTML_DOMAIN

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

NET_DOMAIN

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

WIN_DOMAIN

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

domains

public static final java.lang.String[] domains
Constructor Detail

Domains

public Domains()
Method Detail

enableDomain

public static void enableDomain(java.lang.String domainname)
Enable a specified test domain.

Parameters:
case-insensitive - name of test domain to enable.
Throws:
java.lang.IllegalArgumentException

disableDomain

public static void disableDomain(java.lang.String domainname)
Disable a specified test domain.

Parameters:
case-insensitive - name of test domain to disable.
Throws:
java.lang.IllegalArgumentException

isDomainEnabled

public static boolean isDomainEnabled(java.lang.String domainname)
Returns true if the specified test domain is enabled.

Parameters:
case-insensitive - name of test domain to check.
Throws:
java.lang.IllegalArgumentException

isHtmlEnabled

public static boolean isHtmlEnabled()
Returns the _htmlEnabled.

Returns:
boolean

isJavaEnabled

public static boolean isJavaEnabled()
Returns the _javaEnabled.

Returns:
boolean

isNetEnabled

public static boolean isNetEnabled()
Returns the _netEnabled.

Returns:
boolean

isWinEnabled

public static boolean isWinEnabled()
Returns the _winEnabled.

Returns:
boolean

setHtmlEnabled

public static void setHtmlEnabled(boolean enabled)
Sets the _htmlEnabled.

Parameters:
_htmlEnabled - The _htmlEnabled to set

setJavaEnabled

public static void setJavaEnabled(boolean enabled)
Sets the _javaEnabled.

Parameters:
_javaEnabled - The _javaEnabled to set

setNetEnabled

public static void setNetEnabled(boolean enabled)
Sets the _netEnabled.

Parameters:
_netEnabled - The _netEnabled to set

setWinEnabled

public static void setWinEnabled(boolean enabled)
Sets the _winEnabled.

Parameters:
_winEnabled - The _winEnabled to set