| Constructor and Description |
|---|
SourceSetState(Set<Source> sourceSet)
constructor from source set.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLastChecked()
gets last checked.
|
long |
getLastModified()
gets last modified.
|
Set<Source> |
getSourceSet()
gets the source set.
|
SourceSetState |
update(Set<Source> sourceSetNew)
returns a new instance with given source set and updated last checked and last modified.
|
public SourceSetState(Set<Source> sourceSet)
sourceSet - source setNullPointerException - if the source set is nullpublic long getLastChecked()
public long getLastModified()
public SourceSetState update(Set<Source> sourceSetNew)
sourceSetNew - source setNullPointerException - if the new source set is null