t

sbt.std

TaskStreams

sealed trait TaskStreams[Key] extends AnyRef

Represents a set of streams associated with a context. In sbt, this is a named set of streams for a particular scoped key. For example, logging for test:compile is by default sent to the "out" stream in the test:compile context.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaskStreams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def binary(sid: String = default): BufferedOutputStream

    Provides an output stream for writing to the stream with the given ID.

  2. abstract def cacheDirectory: File

    A cache directory that is unique to the context of this streams instance.

  3. abstract def cacheStoreFactory: CacheStoreFactory
  4. abstract def getInput(key: Key, sid: String = default): Input
  5. abstract def getOutput(sid: String = default): Output
  6. abstract def key: Key
  7. abstract def log(sid: String): ManagedLogger

    Creates a Logger that logs to stream with ID sid.

  8. abstract def readBinary(a: Key, sid: String = default): BufferedInputStream

    Provides an output stream to read from the stream sid for key.

    Provides an output stream to read from the stream sid for key. It is the caller's responsibility to coordinate writing to the stream. That is, no synchronization or ordering is provided and so this method should only be called when writing is complete.

  9. abstract def readText(key: Key, sid: String = default): BufferedReader

    Provides a reader to read text from the stream sid for key.

    Provides a reader to read text from the stream sid for key. It is the caller's responsibility to coordinate writing to the stream. That is, no synchronization or ordering is provided and so this method should only be called when writing is complete.

  10. abstract def text(sid: String = default): PrintWriter

    Provides a writer for writing text to the stream with the given ID.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def default: String

    The default stream ID, used when an ID is not provided.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def errorID: String
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final lazy val log: ManagedLogger

    Obtains the default logger.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def outID: String
  19. final def readBinary(a: Key, sid: Option[String]): BufferedInputStream
  20. final def readText(a: Key, sid: Option[String]): BufferedReader
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped