public class TarballSettings
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TarballSettings.Exclude |
| Constructor and Description |
|---|
TarballSettings()
Create a tarball settings object with no excludes and that allows an
unlimited amount of files and is disabled.
|
TarballSettings(java.util.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(java.util.List<TarballSettings.Exclude> excludes,
long maxFiles,
boolean enabled)
Create a tarball settings object with the specified excludes, number
of max files, and enabled setting.
|
TarballSettings(TarballSettings tarballSettings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<TarballSettings.Exclude> |
getExcludes() |
long |
getMaxFiles() |
int |
hashCode() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setExcludes(java.util.List<TarballSettings.Exclude> excludes) |
void |
setMaxFiles(long maxFiles) |
public TarballSettings()
public TarballSettings(java.util.List<TarballSettings.Exclude> excludes)
See setExcludes(java.util.List) for possible exceptions.
public TarballSettings(TarballSettings tarballSettings)
public TarballSettings(java.util.List<TarballSettings.Exclude> excludes, long maxFiles, boolean enabled)
See setExcludes(java.util.List), setMaxFiles(long), and
setEnabled(boolean) for the treatment of parameters and exceptions.
public boolean isEnabled()
public void setEnabled(boolean enabled)
public java.util.List<TarballSettings.Exclude> getExcludes()
public void setExcludes(java.util.List<TarballSettings.Exclude> excludes)
excludes - changes to the passed in reference are reflected in this object.java.lang.NullPointerException - if excludes is nullpublic long getMaxFiles()
public void setMaxFiles(long maxFiles)
maxFiles - maximum number of files to allow in the tarball; if 0,
then allow an unlimited amount of filesjava.lang.IllegalArgumentException - if maxFiles is negativepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object