Inputs

object Inputs
Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any
Inputs.type

Type members

Classlikes

sealed trait AnyScalaFile extends Compiled
sealed trait AnyScript extends Element
final case class CFile(base: Path, subPath: SubPath) extends OnDisk with SourceFile with Compiled
sealed trait Compiled extends Element
final case class Directory(path: Path) extends OnDisk with Compiled
sealed abstract class Element extends Product with Serializable
final case class JavaFile(base: Path, subPath: SubPath) extends OnDisk with SourceFile with Compiled
final case class MarkdownFile(base: Path, subPath: SubPath) extends OnDisk with SourceFile
sealed abstract class OnDisk extends Element
final case class ResourceDirectory(path: Path) extends OnDisk
sealed trait ScalaFile extends AnyScalaFile
final case class Script(base: Path, subPath: SubPath) extends OnDisk with SourceFile with AnyScalaFile with AnyScript
final case class SettingsScalaFile(base: Path, subPath: SubPath) extends OnDisk with SourceFile with ScalaFile
sealed trait SingleElement extends Element
sealed trait SingleFile extends OnDisk with SingleElement
sealed trait SourceFile extends SingleFile
final case class SourceScalaFile(base: Path, subPath: SubPath) extends OnDisk with SourceFile with ScalaFile
sealed abstract class Virtual extends SingleElement
final case class VirtualData(content: Array[Byte], source: String) extends Virtual
final case class VirtualJavaFile(content: Array[Byte], source: String) extends VirtualSourceFile with Compiled
final case class VirtualScalaFile(content: Array[Byte], source: String) extends VirtualSourceFile with AnyScalaFile
final case class VirtualScript(content: Array[Byte], source: String, wrapperPath: SubPath) extends Virtual with AnyScalaFile with AnyScript
Companion:
object
Companion:
class
sealed abstract class VirtualSourceFile extends Virtual
sealed abstract class WorkspaceOrigin extends Product with Serializable
Companion:
object
Companion:
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply(args: Seq[String], cwd: Path, directories: Directories, baseProjectName: String, defaultInputs: () => Option[Inputs], download: String => Either[String, Array[Byte]], stdinOpt: => Option[Array[Byte]], scriptSnippetList: List[String], scalaSnippetList: List[String], javaSnippetList: List[String], acceptFds: Boolean, forcedWorkspace: Option[Path], enableMarkdown: Boolean, allowRestrictedFeatures: Boolean): Either[BuildException, Inputs]
def default(): Option[Inputs]
def empty(workspace: Path, enableMarkdown: Boolean): Inputs
def empty(projectName: String): Inputs
def homeWorkspace(elements: Seq[Element], directories: Directories): Path
def singleFilesFromDirectory(d: Directory, enableMarkdown: Boolean): Seq[SingleFile]
def validateArgs(args: Seq[String], cwd: Path, download: String => Either[String, Array[Byte]], stdinOpt: => Option[Array[Byte]], acceptFds: Boolean): Seq[Either[String, Seq[Element]]]
def validateSnippets(scriptSnippetList: List[String], scalaSnippetList: List[String], javaSnippetList: List[String]): Seq[Either[String, Seq[Element]]]