org.drools.guvnor.client.configurations
Class ApplicationPreferences

java.lang.Object
  extended by org.drools.guvnor.client.configurations.ApplicationPreferences

public class ApplicationPreferences
extends Object

Storage for global preferences. Preferences effect behaviour and display.


Field Summary
static String DATE_FORMAT
           
static String DEFAULT_COUNTRY
           
static String DEFAULT_LANGUAGE
           
static String DESIGNER_CONTEXT
           
static String DESIGNER_PROFILE
           
static String DESIGNER_URL
           
static String GUVNOR_URL
           
static ApplicationPreferences instance
           
 
Method Summary
static boolean getBooleanPref(String name)
           
static String getDesignerContext()
           
static String getDesignerProfile()
           
static String getDesignerURL()
           
static String getDroolsDateFormat()
           
static String getGuvnorURL()
           
static String getStringPref(String name)
           
static void setUp(Map<String,String> map)
           
static boolean showVerifier()
           
static boolean showVisualRuleFlow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

public static final String DATE_FORMAT
See Also:
Constant Field Values

DEFAULT_LANGUAGE

public static final String DEFAULT_LANGUAGE
See Also:
Constant Field Values

DEFAULT_COUNTRY

public static final String DEFAULT_COUNTRY
See Also:
Constant Field Values

DESIGNER_URL

public static final String DESIGNER_URL
See Also:
Constant Field Values

DESIGNER_CONTEXT

public static final String DESIGNER_CONTEXT
See Also:
Constant Field Values

DESIGNER_PROFILE

public static final String DESIGNER_PROFILE
See Also:
Constant Field Values

GUVNOR_URL

public static final String GUVNOR_URL
See Also:
Constant Field Values

instance

public static ApplicationPreferences instance
Method Detail

setUp

public static void setUp(Map<String,String> map)

getBooleanPref

public static boolean getBooleanPref(String name)

getStringPref

public static String getStringPref(String name)

getDroolsDateFormat

public static String getDroolsDateFormat()

showVerifier

public static boolean showVerifier()

showVisualRuleFlow

public static boolean showVisualRuleFlow()

getDesignerURL

public static String getDesignerURL()

getDesignerContext

public static String getDesignerContext()

getDesignerProfile

public static String getDesignerProfile()

getGuvnorURL

public static String getGuvnorURL()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.