@ThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public class FsDefaultModel extends FsModel
| Modifier and Type | Field and Description |
|---|---|
private FsMountPoint |
mountPoint |
private FsModel |
parent |
private boolean |
touched |
| Constructor and Description |
|---|
FsDefaultModel(FsMountPoint mountPoint,
FsModel parent) |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
equals(Object o1,
Object o2) |
FsMountPoint |
getMountPoint()
Returns the mount point of this file system model.
|
FsModel |
getParent()
Returns the model of the parent file system or
null if and
only if the file system is not federated, i.e. if it's not a member of
a parent file system. |
boolean |
isTouched()
Returns
true if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController must not get discarded until
the next sync. |
void |
setTouched(boolean touched)
Sets the value of the property
touched. |
private final FsMountPoint mountPoint
@CheckForNull private final FsModel parent
private volatile boolean touched
public FsDefaultModel(FsMountPoint mountPoint, @CheckForNull FsModel parent)
public final FsMountPoint getMountPoint()
FsModelThe mount point may be used to construct error messages or to locate and access file system metadata which is stored outside the file system, e.g. in-memory stored passwords for RAES encrypted ZIP files.
getMountPoint in class FsModelpublic final FsModel getParent()
FsModelnull if and
only if the file system is not federated, i.e. if it's not a member of
a parent file system.public boolean isTouched()
FsModeltrue if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController must not get discarded until
the next sync.isTouched in class FsModeltrue if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController must not get discarded until
the next sync.public void setTouched(boolean touched)
FsModeltouched.setTouched in class FsModeltouched - the new value of this property.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.