com.atlassian.jira.setting
Class GzipCompression

java.lang.Object
  extended by com.atlassian.jira.setting.GzipCompression

public class GzipCompression
extends Object

The "Use GZip compression" option.

Since:
v5.1

Constructor Summary
GzipCompression(ApplicationProperties applicationProperties, FeatureManager featureManager)
           
 
Method Summary
 boolean isEnabled()
          Returns a boolean indicating whether GZIP compression is enabled in JIRA.
 boolean isSettableBy()
          Returns a boolean indicating whether admins can enable or disable GZIP compression in JIRA.
 void set(boolean useGzipCompression)
          Enables or disables GZIP compression in JIRA.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GzipCompression

public GzipCompression(ApplicationProperties applicationProperties,
                       FeatureManager featureManager)
Method Detail

isEnabled

public boolean isEnabled()
Returns a boolean indicating whether GZIP compression is enabled in JIRA.

Returns:
true if GZIP compression is enabled in JIRA
Since:
v5.1

isSettableBy

public boolean isSettableBy()
Returns a boolean indicating whether admins can enable or disable GZIP compression in JIRA.

Returns:
true if the GZIP compression setting is read-only
Since:
v5.1

set

public void set(boolean useGzipCompression)
Enables or disables GZIP compression in JIRA.

Parameters:
useGzipCompression - a boolean indicating whether to enable or disable
Since:
v5.1
See Also:
isSettableBy()


Copyright © 2002-2014 Atlassian. All Rights Reserved.