mirror of https://github.com/sbt/sbt.git
Apply Contraband
This commit is contained in:
parent
d10f6ee54e
commit
645908f597
|
|
@ -5,12 +5,11 @@
|
|||
// DO NOT EDIT MANUALLY
|
||||
package sbt.internal.util
|
||||
/** value for logging options like color */
|
||||
enum LogOption {
|
||||
|
||||
case Always
|
||||
case Never
|
||||
case Auto
|
||||
}
|
||||
sealed abstract class LogOption extends Serializable
|
||||
object LogOption {
|
||||
|
||||
|
||||
case object Always extends LogOption
|
||||
case object Never extends LogOption
|
||||
case object Auto extends LogOption
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,12 @@ package sbt.librarymanagement
|
|||
* `Quiet` only displays errors.
|
||||
* `Default` uses the current log level of `update` task.
|
||||
*/
|
||||
enum UpdateLogging {
|
||||
|
||||
case Full
|
||||
case DownloadOnly
|
||||
case Quiet
|
||||
case Default
|
||||
}
|
||||
sealed abstract class UpdateLogging extends Serializable
|
||||
object UpdateLogging {
|
||||
|
||||
|
||||
case object Full extends UpdateLogging
|
||||
case object DownloadOnly extends UpdateLogging
|
||||
case object Quiet extends UpdateLogging
|
||||
case object Default extends UpdateLogging
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,15 +4,14 @@
|
|||
|
||||
// DO NOT EDIT MANUALLY
|
||||
package sbt.internal.sona
|
||||
enum DeploymentState {
|
||||
|
||||
case PENDING
|
||||
case VALIDATING
|
||||
case VALIDATED
|
||||
case PUBLISHING
|
||||
case PUBLISHED
|
||||
case FAILED
|
||||
}
|
||||
sealed abstract class DeploymentState extends Serializable
|
||||
object DeploymentState {
|
||||
|
||||
|
||||
case object PENDING extends DeploymentState
|
||||
case object VALIDATING extends DeploymentState
|
||||
case object VALIDATED extends DeploymentState
|
||||
case object PUBLISHING extends DeploymentState
|
||||
case object PUBLISHED extends DeploymentState
|
||||
case object FAILED extends DeploymentState
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,11 +4,10 @@
|
|||
|
||||
// DO NOT EDIT MANUALLY
|
||||
package sbt
|
||||
enum ConnectionType {
|
||||
/** This uses Unix domain socket on POSIX, and named pipe on Windows. */
|
||||
case Local
|
||||
case Tcp
|
||||
}
|
||||
sealed abstract class ConnectionType extends Serializable
|
||||
object ConnectionType {
|
||||
|
||||
/** This uses Unix domain socket on POSIX, and named pipe on Windows. */
|
||||
case object Local extends ConnectionType
|
||||
case object Tcp extends ConnectionType
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,9 @@
|
|||
|
||||
// DO NOT EDIT MANUALLY
|
||||
package sbt
|
||||
enum ServerAuthentication {
|
||||
|
||||
case Token
|
||||
}
|
||||
sealed abstract class ServerAuthentication extends Serializable
|
||||
object ServerAuthentication {
|
||||
|
||||
|
||||
case object Token extends ServerAuthentication
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,13 +5,12 @@
|
|||
// DO NOT EDIT MANUALLY
|
||||
package sbt.protocol.testing
|
||||
/** Testing result */
|
||||
enum TestResult {
|
||||
|
||||
case Empty
|
||||
case Passed
|
||||
case Failed
|
||||
case Error
|
||||
}
|
||||
sealed abstract class TestResult extends Serializable
|
||||
object TestResult {
|
||||
|
||||
|
||||
case object Empty extends TestResult
|
||||
case object Passed extends TestResult
|
||||
case object Failed extends TestResult
|
||||
case object Error extends TestResult
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue