coursemgmt

package coursemgmt

Members list

Packages

package coursemgmt.core

Type members

Classlikes

class CMTaConfig(mainRepo: File, configFileOpt: Option[File])

Attributes

Supertypes
class Object
trait Matchable
class Any
class CMTcConfig(studentifiedRepo: File)

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait CmtError
object Domain

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Domain.type
case class ErrorMessage(message: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class FailedToExecuteCommand(reason: ErrorMessage) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all
final case class FailedToValidateArgument(option: OptionName, reasons: Seq[ErrorMessage]) extends CmtError

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class FailedToValidateCommandOptions(reasons: List[ErrorMessage]) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all
final case class FailedToWriteGlobalConfiguration(cause: Throwable) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all
final case class FileMetadata(size: Long, sha256: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class GenericError(message: String) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all
object Helpers

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Helpers.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class MissingTrailingArguments(expectedCount: Int, actualCount: Int) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all
final case class NoTrailingArguments(expectedCount: Int) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all
case class OptionName(value: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ProcessDSL

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ProcessDSL.type
object Releasables

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class RequiredOptionIsMissing(option: OptionName) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class StudentifiedSkelFolders(solutionsFolder: File)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnexpectedTrailingArguments(trailingArguments: List[String]) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all
final case class UnexpectedUnparsedArguments(unparsedArguments: List[String]) extends CmtError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmtError
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class isExerciseFolder() extends FileFilter

Attributes

Companion
object
Supertypes
trait FileFilter
class Object
trait Matchable
class Any

Value members

Concrete methods

def exMetadata(files: List[_ <: ConfigObject]): Map[String, FileMetadata]
def printErrorAndExit(message: String): Nothing
def printMessage(msg: String): Unit
def printNotification(msg: String): Unit
def toConsoleCyan(msg: String): String
def toConsoleGreen(msg: String): String
def toConsoleRed(msg: String): String
def toConsoleYellow(msg: String): String

Extensions

Extensions

extension (errorMessage: String)
extension (item: Entry[String, ConfigValue])
def getInt(key: String): Int
def getString(key: String): String
extension (result: Either[CmtError, String])
def printResult(): Unit
extension (self: Error)
def toCmtError: Set[CmtError]