public class

GzipCompression

extends Object
java.lang.Object
   ↳ com.atlassian.jira.setting.GzipCompression

Class Overview

The "Use GZip compression" option.

Summary

Public Constructors
GzipCompression(ApplicationProperties applicationProperties, FeatureManager featureManager)
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GzipCompression (ApplicationProperties applicationProperties, FeatureManager featureManager)

Public Methods

public boolean isEnabled ()

Returns a boolean indicating whether GZIP compression is enabled in JIRA.

Returns
  • true if GZIP compression is enabled in JIRA

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

public void set (boolean useGzipCompression)

Enables or disables GZIP compression in JIRA.

Parameters
useGzipCompression a boolean indicating whether to enable or disable
See Also