Package com.swoval.files
Class PathWatchers.Event
- java.lang.Object
-
- com.swoval.files.PathWatchers.Event
-
- Enclosing class:
- PathWatchers
public static final class PathWatchers.Event extends java.lang.ObjectContainer forPathWatcherevents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPathWatchers.Event.KindAn enum like class to indicate the type of file event.
-
Constructor Summary
Constructors Constructor Description Event(TypedPath typedPath, PathWatchers.Event.Kind kind)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)PathWatchers.Event.KindgetKind()Returns the kind of event.TypedPathgetTypedPath()Return theTypedPathassociated with this Event.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Event
public Event(TypedPath typedPath, PathWatchers.Event.Kind kind)
-
-
Method Detail
-
getTypedPath
public TypedPath getTypedPath()
Return theTypedPathassociated with this Event.- Returns:
- the
TypedPath.
-
getKind
public PathWatchers.Event.Kind getKind()
Returns the kind of event.- Returns:
- the kind of event.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-