com.atlassian.jira.config.properties
Class JiraSystemProperties

java.lang.Object
  extended by com.atlassian.jira.config.properties.JiraSystemProperties

public final class JiraSystemProperties
extends Object

This class provides access to system properties. It should be used to access properties that can't be accessed via ApplicationProperties yet because the world hasn't been brought up yet.

Since:
v4.0

Method Summary
static boolean isBundledPluginsDisabled()
           
static boolean isDecodeMailFileName()
           
static boolean isDecodeMailParameters()
           
static boolean isDevMode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isDevMode

public static boolean isDevMode()
Returns:
true if jira is running in dev mode (meaning jira.home lock files will be ignored)

isBundledPluginsDisabled

public static boolean isBundledPluginsDisabled()
Returns:
true if bundled plugins are disabled

isDecodeMailParameters

public static boolean isDecodeMailParameters()
Returns:
return true if the system property has been set to decode e-mails parameters as specified by RFC-2231.

isDecodeMailFileName

public static boolean isDecodeMailFileName()
Returns:
return true if the system property has been set to decode the "filename" from an e-mail.


Copyright © 2002-2009 Atlassian. All Rights Reserved.