public class

TarballSettings

extends Object
java.lang.Object
   ↳ com.atlassian.fisheye.spi.admin.data.TarballSettings

Summary

Nested Classes
class TarballSettings.Exclude  
Public Constructors
TarballSettings()
Create a tarball settings object with no excludes and that allows an unlimited amount of files and is disabled.
TarballSettings(List<TarballSettings.Exclude> excludes)
Create a tarball settings object with the specified excludes and that allows an unlimited amount of files and is disabled.
TarballSettings(TarballSettings tarballSettings)
TarballSettings(List<TarballSettings.Exclude> excludes, long maxFiles, boolean enabled)
Create a tarball settings object with the specified excludes, number of max files, and enabled setting.
Public Methods
boolean equals(Object o)
List<TarballSettings.Exclude> getExcludes()
long getMaxFiles()
int hashCode()
boolean isEnabled()
void setEnabled(boolean enabled)
void setExcludes(List<TarballSettings.Exclude> excludes)
void setMaxFiles(long maxFiles)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TarballSettings ()

Create a tarball settings object with no excludes and that allows an unlimited amount of files and is disabled.

public TarballSettings (List<TarballSettings.Exclude> excludes)

Create a tarball settings object with the specified excludes and that allows an unlimited amount of files and is disabled.

See setExcludes(java.util.List) for possible exceptions.

public TarballSettings (TarballSettings tarballSettings)

public TarballSettings (List<TarballSettings.Exclude> excludes, long maxFiles, boolean enabled)

Create a tarball settings object with the specified excludes, number of max files, and enabled setting.

See setExcludes(java.util.List), setMaxFiles(long), and setEnabled(boolean) for the treatment of parameters and exceptions.

Public Methods

public boolean equals (Object o)

public List<TarballSettings.Exclude> getExcludes ()

Returns
  • the excludes. Changes to the returned list are reflected in this object.

public long getMaxFiles ()

public int hashCode ()

public boolean isEnabled ()

public void setEnabled (boolean enabled)

public void setExcludes (List<TarballSettings.Exclude> excludes)

Parameters
excludes changes to the passed in reference are reflected in this object.
Throws
NullPointerException if excludes is null

public void setMaxFiles (long maxFiles)

Parameters
maxFiles maximum number of files to allow in the tarball; if 0, then allow an unlimited amount of files
Throws
IllegalArgumentException if maxFiles is negative