Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
22aec374
Commit
22aec374
authored
5 years ago
by
Richard Cordovano
Browse files
Options
Downloads
Patches
Plain Diff
Remove JFX dependency in TSK
parent
36bd8a16
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/java/src/org/sleuthkit/datamodel/TimelineFilter.java
+20
-19
20 additions, 19 deletions
...ings/java/src/org/sleuthkit/datamodel/TimelineFilter.java
with
20 additions
and
19 deletions
bindings/java/src/org/sleuthkit/datamodel/TimelineFilter.java
+
20
−
19
View file @
22aec374
...
@@ -257,12 +257,12 @@ public TagsFilter() {
...
@@ -257,12 +257,12 @@ public TagsFilter() {
* the direct source (file or artifact) of the events has either been
* the direct source (file or artifact) of the events has either been
* tagged or not tagged.
* tagged or not tagged.
*
*
* @param eventSource
I
sTagged Whether the direct sources of the events
* @param eventSources
Are
Tagged Whether the direct sources of the events
* need to be tagged or not tagged to be
*
need to be tagged or not tagged to be
* accepted by this filter.
*
accepted by this filter.
*/
*/
public
TagsFilter
(
boolean
eventSource
I
sTagged
)
{
public
TagsFilter
(
boolean
eventSources
Are
Tagged
)
{
this
.
eventSourcesAreTagged
=
eventSource
I
sTagged
;
this
.
eventSourcesAreTagged
=
eventSources
Are
Tagged
;
}
}
/**
/**
...
@@ -388,11 +388,6 @@ public TextFilter(String descriptionSubstring) {
...
@@ -388,11 +388,6 @@ public TextFilter(String descriptionSubstring) {
this
.
descriptionSubstring
=
descriptionSubstring
.
trim
();
this
.
descriptionSubstring
=
descriptionSubstring
.
trim
();
}
}
@Override
public
String
getDisplayName
()
{
return
BundleProvider
.
getBundle
().
getString
(
"TextFilter.displayName.text"
);
}
/**
/**
* Sets the substring that must be present in one or more of the
* Sets the substring that must be present in one or more of the
* descriptions of each event that passes the filter.
* descriptions of each event that passes the filter.
...
@@ -403,6 +398,11 @@ public synchronized void setDescriptionSubstring(String descriptionSubstring) {
...
@@ -403,6 +398,11 @@ public synchronized void setDescriptionSubstring(String descriptionSubstring) {
this
.
descriptionSubstring
=
descriptionSubstring
.
trim
();
this
.
descriptionSubstring
=
descriptionSubstring
.
trim
();
}
}
@Override
public
String
getDisplayName
()
{
return
BundleProvider
.
getBundle
().
getString
(
"TextFilter.displayName.text"
);
}
/**
/**
* Gets the substring that must be present in one or more of the
* Gets the substring that must be present in one or more of the
* descriptions of each event that passes the filter.
* descriptions of each event that passes the filter.
...
@@ -433,7 +433,7 @@ public boolean equals(Object obj) {
...
@@ -433,7 +433,7 @@ public boolean equals(Object obj) {
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
int
hash
=
5
;
int
hash
=
5
;
hash
=
29
*
hash
+
Objects
.
hashCode
(
descriptionSubstring
);
hash
=
29
*
hash
+
Objects
.
hashCode
(
this
.
descriptionSubstring
);
return
hash
;
return
hash
;
}
}
...
@@ -724,7 +724,7 @@ protected void addSubFilter(SubFilterType subfilter) {
...
@@ -724,7 +724,7 @@ protected void addSubFilter(SubFilterType subfilter) {
* @return The filters.
* @return The filters.
*/
*/
public
final
List
<
SubFilterType
>
getSubFilters
()
{
public
final
List
<
SubFilterType
>
getSubFilters
()
{
return
subFilters
;
// RJCTODO: DO we need to hand out a mutable reference?
return
subFilters
;
}
}
/**
/**
...
@@ -885,21 +885,22 @@ public HashHitsFilter() {
...
@@ -885,21 +885,22 @@ public HashHitsFilter() {
* the files that are the direct or indirect sources of the events
* the files that are the direct or indirect sources of the events
* either have or do not have hash set hits.
* either have or do not have hash set hits.
*
*
* @param hasHashHit Whether or not the files associated with the events
* @param eventSourcesHaveHashSetHits Whether or not the files
* have or do not have hash set hits.
* associated with the events have or
* do not have hash set hits.
*/
*/
public
HashHitsFilter
(
boolean
hasHash
Hit
)
{
public
HashHitsFilter
(
boolean
eventSourcesHaveHashSet
Hit
s
)
{
eventSourcesHaveHashSetHits
=
hasHash
Hit
;
this
.
eventSourcesHaveHashSetHits
=
eventSourcesHaveHashSet
Hit
s
;
}
}
/**
/**
* Sets whether or not the files associated with the events have or do
* Sets whether or not the files associated with the events have or do
* not have hash set hits
* not have hash set hits
*
*
* @param
hasHash
Hit True or false.
* @param
eventSourcesHaveHashSet
Hit
s
True or false.
*/
*/
public
synchronized
void
setEventSourcesHaveHashSetHits
(
boolean
hasHash
Hit
)
{
public
synchronized
void
setEventSourcesHaveHashSetHits
(
boolean
eventSourcesHaveHashSet
Hit
s
)
{
eventSourcesHaveHashSetHits
=
hasHash
Hit
;
this
.
eventSourcesHaveHashSetHits
=
eventSourcesHaveHashSet
Hit
s
;
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment