public class RepositoryEvent
extends java.util.EventObject
| Constructor | Description |
|---|---|
RepositoryEvent(Repository fsp,
FileSystem fs,
boolean add) |
Create a new filesystem pool event.
|
| Modifier and Type | Method | 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?
|
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 removedBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.