final case class FileTracker(base: AbsolutePath, pattern: String, modifiedTimes: List[(AbsolutePath, FileTime)], checksum: Long) extends Product with Serializable
Represents the state of a directory or file in which we track changes.
- base
The base file or directory to track.
- pattern
The pattern matching the files that must be tracked inside
base
.- modifiedTimes
The last modification time of the tracked files.
- checksum
The checksum of all the contents of the directory.
- Alphabetic
- By Inheritance
- FileTracker
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FileTracker(base: AbsolutePath, pattern: String, modifiedTimes: List[(AbsolutePath, FileTime)], checksum: Long)
- base
The base file or directory to track.
- pattern
The pattern matching the files that must be tracked inside
base
.- modifiedTimes
The last modification time of the tracked files.
- checksum
The checksum of all the contents of the directory.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val base: AbsolutePath
-
def
changed(logger: Logger): Status
Inspects the directory for changes.
Inspects the directory for changes.
- logger
A logger that receive errors, if any.
- returns
FileTracker.Unchanged
if the tracked files didn't change. If the last modified times have changed, this contains a newFileTracker
with the updatedmodifiedTimes
. If the tracked files have changed,FileTracker.Changed
is returned.
- val checksum: Long
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val modifiedTimes: List[(AbsolutePath, FileTime)]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pattern: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )