package util
- Alphabetic
- Public
- All
Type Members
-
trait
AList[K[L[x]]] extends AnyRef
An abstraction over a higher-order type constructor
K[x[y]]
with the purpose of abstracting over heterogeneous sequences likeKList
andTupleN
with elements with a common type constructor as well as homogeneous sequencesSeq[M[T]]
. - abstract class AbstractEntry extends Serializable
- abstract class AbstractRMap[K[_], V[_]] extends RMap[K, V]
-
final
class
AlreadyHandledException extends RuntimeException
A dummy exception for the top-level exception handler to know that an exception has been handled, but is being passed further up to indicate general failure.
- trait Appender extends AutoCloseable
-
final
case class
AttributeEntry[T](key: AttributeKey[T], value: T) extends Product with Serializable
A map entry where
key
is constrained to only be associated with a fixed value of typeT
. -
sealed
trait
AttributeKey[T] extends AnyRef
A key in an AttributeMap that constrains its associated value to be of type
T
.A key in an AttributeMap that constrains its associated value to be of type
T
. The key is uniquely defined by itslabel
and typeT
, represented at runtime bymanifest
. -
trait
AttributeMap extends AnyRef
An immutable map where a key is the tuple
(String,T)
for a fixed typeT
and can only be associated with values of typeT
.An immutable map where a key is the tuple
(String,T)
for a fixed typeT
and can only be associated with values of typeT
. It is therefore possible for this map to contain mappings for keys with the same label but different types. Excluding this possibility is the responsibility of the client if desired. -
final
case class
Attributed[D](data: D)(metadata: AttributeMap) extends Product with Serializable
Associates a
metadata
map withdata
. -
abstract
class
BasicLogger extends AbstractLogger
Implements the level-setting methods of Logger.
-
class
BufferedAppender extends Appender
An appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor.
An appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor. Use 'record()' to start buffering and then 'play' to flush the buffer to the backing appender. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.
-
class
BufferedLogger extends BasicLogger
A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor.
A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor. Use 'startRecording' to start buffering and then 'play' from to flush the buffer to the backing logger. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.
This class assumes that it is the only client of the delegate logger.
-
class
ConsoleAppender extends Appender
A logger that logs to the console.
A logger that logs to the console. On supported systems, the level labels are colored.
This logger is not thread-safe.
-
class
ConsoleLogger extends BasicLogger
A logger that logs to the console.
A logger that logs to the console. On supported systems, the level labels are colored.
- sealed trait ConsoleOut extends AnyRef
- trait Dag[Node <: Dag[Node]] extends AnyRef
-
class
DelegatingPMap[K[_], V[_]] extends AbstractRMap[K, V] with PMap[K, V]
Only suitable for K that is invariant in its type parameter.
Only suitable for K that is invariant in its type parameter. Option and List keys are not suitable, for example, because None <:< Option[String] and None <: Option[Int].
-
class
DeprecatedJLine extends AnyRef
This exists to a provide a wrapper to TerminalBuilder.setTerminalOverride that will not emit a deprecation warning when called from scala.
- class EmptyCacheError extends RuntimeException
- abstract class EvaluateSettings[ScopeType] extends AnyRef
-
trait
ExitHook extends AnyRef
Defines a function to call as sbt exits.
-
trait
FeedbackProvidedException extends Throwable with UnprintableException
A marker trait that refines UnprintableException to indicate to a top-level exception handler that the code throwing this exception has already provided feedback to the user about the error condition.
- sealed trait FilePosition extends SourcePosition
-
class
FilterLogger extends BasicLogger
A filter logger is used to delegate messages but not the logging level to another logger.
A filter logger is used to delegate messages but not the logging level to another logger. This means that messages are logged at the higher of the two levels set by this logger and its delegate.
-
class
FullLogger extends BasicLogger
Promotes the simple Logger interface to the full AbstractLogger interface.
- final class FullReader extends JLine
-
final
case class
GlobalLogBacking(file: File, last: Option[File], newBackingFile: () ⇒ File) extends Product with Serializable
Tracks the files that persist the global logging.
Tracks the files that persist the global logging.
file
is the current backing file.last
is the previous backing file, if there is one.newBackingFile
creates a new temporary location for the next backing file. -
final
case class
GlobalLogging(full: ManagedLogger, console: ConsoleOut, backed: Appender, backing: GlobalLogBacking, newAppender: (ManagedLogger, PrintWriter, GlobalLogBacking, LoggerContext) ⇒ GlobalLogging) extends Product with Serializable
Provides the current global logging configuration.
Provides the current global logging configuration.
full
is the current global logger. It should not be set directly because it is generated as needed frombacking.newLogger
.console
is where all logging from all ConsoleLoggers should go.backed
is the Logger that other loggers should feed into.backing
tracks the files that persist the global logging.newLogger
creates a new global logging configuration from a sink and backing configuration. - final case class GlobalLogging1(full: Logger, console: ConsoleOut, backed: AbstractLogger, backing: GlobalLogBacking, newLogger: (PrintWriter, GlobalLogBacking) ⇒ GlobalLogging1) extends Product with Serializable
- final case class HCons[H, T <: HList](head: H, tail: T) extends HList with Product with Serializable
-
sealed
trait
HList extends AnyRef
A minimal heterogeneous list type.
A minimal heterogeneous list type. For background, see https://apocalisp.wordpress.com/2010/07/06/type-level-programming-in-scala-part-6a-heterogeneous-list basics/
- trait HListFormats extends AnyRef
- sealed trait HNil extends HList
-
trait
IDSet[T] extends AnyRef
A mutable set interface that uses object identity to test for set membership.
- trait IMap[K[_], V[_]] extends ~>[K, V] with RMap[K, V]
- trait Init[ScopeType] extends AnyRef
- abstract class JLine extends LineReader
- final case class KCons[H, +T <: KList[M], +M[_]](head: M[H], tail: T) extends KList[M] with Product with Serializable
-
sealed
trait
KList[+M[_]] extends AnyRef
A higher-kinded heterogeneous list of elements that share the same type constructor
M[_]
. - sealed abstract class KNil extends KList[util.Types.NothingK]
- final case class LinePosition(path: String, startLine: Int) extends FilePosition with Product with Serializable
- final case class LineRange(start: Int, end: Int) extends Product with Serializable
- trait LineReader extends AutoCloseable
-
sealed abstract
class
LogOption extends Serializable
value for logging options like color
-
class
LoggerWriter extends Writer
Provides a
java.io.Writer
interface to aLogger
.Provides a
java.io.Writer
interface to aLogger
. Content is line-buffered and logged atlevel
. A line is delimited bynl
, which is by default the platform line separator. -
class
ManagedLogger extends Logger
Delegates log events to the associated LogExchange.
- final class MessageOnlyException extends RuntimeException
- class MultiLogger extends BasicLogger
- final class ObjectEvent[A] extends Serializable
- trait PMap[K[_], V[_]] extends ~>[K, V] with RMap[K, V]
-
final
class
ProgressEvent extends AbstractEntry with Serializable
used by super shell
-
final
class
ProgressItem extends Serializable
used by super shell
- trait RMap[K[_], V[_]] extends AnyRef
- final case class RangePosition(path: String, range: LineRange) extends FilePosition with Product with Serializable
-
trait
Relation[A, B] extends AnyRef
Binary relation between A and B.
Binary relation between A and B. It is a set of pairs (_1, _2) for _1 in A, _2 in B.
- sealed trait Settings[ScopeType] extends AnyRef
- class SimpleReader extends JLine
- sealed trait SourcePosition extends AnyRef
- abstract class SourcePositionImpl extends AnyRef
- final class SourcePositionMacro extends AnyRef
- final class StringEvent extends AbstractEntry with Serializable
-
final
case class
StringTypeTag[A](key: String) extends Product with Serializable
This is used to carry type information in JSON.
- final class SuccessEvent extends Serializable
- final class SuppressedTraceContext extends AnyRef
- trait Terminal extends AutoCloseable
- final class TraceEvent extends AbstractEntry with Serializable
- sealed class TranslatedException extends RuntimeException
- final class TranslatedIOException extends TranslatedException
- trait TypeFunctions extends AnyRef
- trait Types extends TypeFunctions
-
trait
UnprintableException extends Throwable
A marker trait for a top-level exception handler to know that this exception doesn't make sense to display.
- trait ~>[-A[_], +B[_]] extends AnyRef
Value Members
- object AList
- object AbstractEntry extends Serializable
- object AttributeKey
- object AttributeMap
- object Attributed extends Serializable
- object BufferedAppender
- object Classes
- object ConsoleAppender
- object ConsoleLogger
- object ConsoleOut
- object Dag
- object ErrorHandling
- object EscHelpers
- object EvaluationState extends Enumeration
- object ExitHook
- object ExitHooks
- object FullLogger
- object GlobalLogBacking extends Serializable
- object GlobalLogging extends Serializable
- object HList
- object HListFormats extends HListFormats
- object HNil extends HNil
- object IDSet
- object IMap
- object JoinThread
- object KList
- object KNil extends KNil with Product with Serializable
- object LineReader
- object LogOption extends Serializable
- object MainAppender
- object NoPosition extends SourcePosition with Product with Serializable
- object ObjectEvent extends Serializable
- object PMap
- object ProgressEvent extends Serializable
- object ProgressItem extends Serializable
- object Relation
- object ScalaKeywords
- object Signals
- object SimpleReader extends SimpleReader
- object SourcePosition extends SourcePositionImpl
- object StackTrace
- object StringEvent extends Serializable
- object StringTypeTag extends Serializable
- object SuccessEvent extends Serializable
- object Terminal
- object TraceEvent extends Serializable
- object TypeFunctions extends TypeFunctions
- object Types extends Types
- object Util
- object ~>