trait Stamp extends AnyRef
A stamp defines certain properties or information on files.
Stamp properties are available depending on its associated file.
A stamp is empty when getHash
and getModified
return
an empty optional
. This value is returned for files that have
not been tracked by the incremental compiler.
- Alphabetic
- By Inheritance
- Stamp
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
getHash(): Optional[String]
Get the hash of the file contents if the stamp supports it.
Get the hash of the file contents if the stamp supports it.
- returns
An optional hash of the file contents.
-
abstract
def
getLastModified(): Optional[Long]
Get the last modified time (in milliseconds from Epoch) of a file if the stamp supports it.
Get the last modified time (in milliseconds from Epoch) of a file if the stamp supports it.
- returns
An optional last modified time.
-
abstract
def
getValueId(): Int
Returns a unique identifier depending on the underlying data structures.
Returns a unique identifier depending on the underlying data structures.
- returns
A valid string-based representation for logical equality, not referential equality.
-
abstract
def
writeStamp(): String
- returns
A string-based and recoverable representation of the underlying stamp.
Concrete 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()