public class Domains
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVEX_DOMAIN
"ACTIVEX"
|
static java.lang.String[] |
domains |
static java.lang.String |
FLEX_DOMAIN
"FLEX"
|
static java.lang.String |
HTML_DOJO_DOMAIN
"DOJO"
|
static java.lang.String |
HTML_DOMAIN
"HTML"
|
static java.lang.String |
HTML_SAP_DOMAIN
"SAP"
|
static java.lang.String |
JAVA_DOMAIN
"JAVA"
|
static java.lang.String |
NET_DOMAIN
"NET"
|
static java.lang.String |
NET_WPF
"WPF"
|
static java.lang.String |
SWT_DOMAIN
"SWT"
|
static java.lang.String |
WIN_DOMAIN
"WIN"
|
Constructor and Description |
---|
Domains() |
Modifier and Type | Method and Description |
---|---|
static void |
addEnabledDomain(java.lang.String domainname)
Add (or move) a domain to the top of the enabledDomains list.
|
static void |
clearEnabledDomains()
Call to clear out and essentially disable all domains.
|
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 void |
enableDomains(java.lang.String domains)
Enable specified test domains and disable those not specified.
|
static java.lang.String[] |
getEnabledDomains()
Returns a String array of the currently enabled domains in the order they
should be processed.
|
static java.lang.String |
getEnabledDomainsString() |
static boolean |
isActiveXEnabled() |
static boolean |
isDojoEnabled() |
static boolean |
isDomainEnabled(java.lang.String domainname)
Returns true if the specified test domain is enabled.
|
static boolean |
isDomainSupported(java.lang.String domainname) |
static boolean |
isFlexEnabled() |
static boolean |
isHtmlEnabled() |
static boolean |
isJavaEnabled() |
static boolean |
isNetEnabled() |
static boolean |
isSapEnabled() |
static boolean |
isSwtEnabled() |
static boolean |
isWinEnabled() |
static void |
removeEnabledDomain(java.lang.String domainname)
Remove a domain from the enabledDomains list.
|
static void |
setActiveXEnabled(boolean enabled) |
static void |
setDojoEnabled(boolean enabled) |
static void |
setFlexEnabled(boolean enabled) |
static void |
setHtmlEnabled(boolean enabled) |
static void |
setJavaEnabled(boolean enabled) |
static void |
setNetEnabled(boolean enabled) |
static void |
setSapEnabled(boolean enabled) |
static void |
setSwtEnabled(boolean enabled) |
static void |
setWinEnabled(boolean enabled) |
public static final java.lang.String JAVA_DOMAIN
public static final java.lang.String ACTIVEX_DOMAIN
public static final java.lang.String HTML_DOMAIN
public static final java.lang.String HTML_DOJO_DOMAIN
public static final java.lang.String HTML_SAP_DOMAIN
public static final java.lang.String NET_DOMAIN
public static final java.lang.String NET_WPF
public static final java.lang.String WIN_DOMAIN
public static final java.lang.String SWT_DOMAIN
public static final java.lang.String FLEX_DOMAIN
public static final java.lang.String[] domains
public static void clearEnabledDomains()
public static void addEnabledDomain(java.lang.String domainname)
public static void removeEnabledDomain(java.lang.String domainname)
public static java.lang.String[] getEnabledDomains()
public static java.lang.String getEnabledDomainsString()
public static boolean isDomainSupported(java.lang.String domainname)
public static void enableDomains(java.lang.String domains)
domains
- -- case-insensitive string of domains to enable.
Examples:clearEnabledDomains()
,
addEnabledDomain(String)
public static void enableDomain(java.lang.String domainname)
domainname
- String, case-insensitive name of test domain to enable.java.lang.IllegalArgumentException
public static void disableDomain(java.lang.String domainname)
domainname
- String, case-insensitive name of test domain to disable.java.lang.IllegalArgumentException
public static boolean isDomainEnabled(java.lang.String domainname)
domainname
- String, case-insensitive name of test domain to check.java.lang.IllegalArgumentException
public static boolean isActiveXEnabled()
public static boolean isHtmlEnabled()
public static boolean isDojoEnabled()
public static boolean isSapEnabled()
public static boolean isJavaEnabled()
public static boolean isNetEnabled()
public static boolean isWinEnabled()
public static boolean isSwtEnabled()
public static boolean isFlexEnabled()
public static void setActiveXEnabled(boolean enabled)
enabled
- if true, enable activeX domain; otherwise disable it.public static void setHtmlEnabled(boolean enabled)
enabled
- if true, enable Html domain; otherwise disable it.public static void setDojoEnabled(boolean enabled)
enabled
- if true, enable Dojo domain; otherwise disable it.public static void setSapEnabled(boolean enabled)
enabled
- if true, enable Sap domain; otherwise disable it.public static void setJavaEnabled(boolean enabled)
enabled
- if true, enable Java domain; otherwise disable it.public static void setNetEnabled(boolean enabled)
enabled
- if true, enable Net domain; otherwise disable it.public static void setWinEnabled(boolean enabled)
enabled
- if true, enable Win domain; otherwise disable it.public static void setSwtEnabled(boolean enabled)
enabled
- if true, enable Swt domain; otherwise disable it.public static void setFlexEnabled(boolean enabled)
enabled
- if true, enable Flex domain; otherwise disable it.Copyright © SAS Institute. All Rights Reserved.