public class RepositoryEvent extends EventObject
source
Constructor and Description |
---|
RepositoryEvent(Repository fsp,
FileSystem fs,
boolean add)
Create a new filesystem pool event.
|
Modifier and Type | Method and Description |
---|---|
FileSystem |
getFileSystem()
Getter for the filesystem that is added or removed.
|
Repository |
getRepository()
Getter for the filesystem pool that is modified.
|
boolean |
isAdded()
Is the filesystem added or removed?
|
getSource, toString
public RepositoryEvent(Repository fsp, FileSystem fs, boolean add)
fsp
- filesystem pool that is being modifiedfs
- filesystem that is either being added or removedadd
- true
if the filesystem is added,
false
if removedpublic Repository getRepository()
public FileSystem getFileSystem()
public boolean isAdded()
true
if the filesystem is added, false
if removed