Package edu.umd.cs.findbugs.gui2
Class ProjectSettings
- java.lang.Object
-
- edu.umd.cs.findbugs.gui2.ProjectSettings
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class ProjectSettings extends java.lang.Object implements java.io.SerializableDeprecated.This is the .fas file stored when projects are saved All project related information goes here. Anything that would be shared between multiple projects goes into GUISaveState instead- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private CompoundMatcherallMatchersDeprecated.The CompoundMatcher enveloping all enabled matchers.private java.util.ArrayList<FilterMatcher>filtersDeprecated.The list of all defined filtersprivate static ProjectSettingsinstanceDeprecated.private intmaxSizeOfPreviousCommentsDeprecated.Max number of previous comments stored.private static longserialVersionUIDDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description privateProjectSettings()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddFilter(FilterMatcher filter)Deprecated.voidaddFilters(FilterMatcher[] newFilters)Deprecated.(package private) java.util.ArrayList<FilterMatcher>getAllFilters()Deprecated.static ProjectSettingsgetInstance()Deprecated.intgetMaxSizeOfPreviousComments()Deprecated.static voidloadInstance(java.io.InputStream in)Deprecated.static ProjectSettingsnewInstance()Deprecated.booleanremoveFilter(FilterMatcher filter)Deprecated.voidsave(java.io.OutputStream out)Deprecated.voidsetMaxSizeOfPreviousComments(int num)Deprecated.Sets the maximum number of previous comments stored.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
instance
private static ProjectSettings instance
Deprecated.
-
filters
private final java.util.ArrayList<FilterMatcher> filters
Deprecated.The list of all defined filters
-
allMatchers
private final CompoundMatcher allMatchers
Deprecated.The CompoundMatcher enveloping all enabled matchers.
-
maxSizeOfPreviousComments
private int maxSizeOfPreviousComments
Deprecated.Max number of previous comments stored.
-
-
Method Detail
-
newInstance
public static ProjectSettings newInstance()
Deprecated.
-
getInstance
public static ProjectSettings getInstance()
Deprecated.
-
loadInstance
public static void loadInstance(@WillClose java.io.InputStream in)Deprecated.
-
save
public void save(@WillClose java.io.OutputStream out)Deprecated.
-
addFilter
public void addFilter(FilterMatcher filter)
Deprecated.
-
addFilters
public void addFilters(FilterMatcher[] newFilters)
Deprecated.
-
removeFilter
public boolean removeFilter(FilterMatcher filter)
Deprecated.
-
getAllFilters
java.util.ArrayList<FilterMatcher> getAllFilters()
Deprecated.
-
getMaxSizeOfPreviousComments
public int getMaxSizeOfPreviousComments()
Deprecated.- Returns:
- Returns the maximum number of previous comments stored.
-
setMaxSizeOfPreviousComments
public void setMaxSizeOfPreviousComments(int num)
Deprecated.Sets the maximum number of previous comments stored.- Parameters:
num-
-
-