Package

com.salesforce.op

cli

Permalink

package cli

Visibility
  1. Public
  2. All

Type Members

  1. case class AutomaticSchema(recordClassName: String)(dataFile: File) extends SchemaSource with Product with Serializable

    Permalink
  2. case class AvroSchemaFromFile(schemaFile: File) extends SchemaSource with Product with Serializable

    Permalink
  3. case class BadSchema(msg: String, source: Exception) extends Exception with Product with Serializable

    Permalink
  4. class CliExec extends AnyRef

    Permalink
  5. case class CliParameters(command: String = "???", location: File = new File("."), projName: String = "Sample", inputFile: Option[File] = None, response: Option[String] = None, idField: Option[String] = None, schemaSource: Option[SchemaSource] = None, answersFile: Option[File] = None, overwrite: Boolean = false) extends Product with Serializable

    Permalink

    Represents a builder for the command to generate a project.

    Represents a builder for the command to generate a project.

    projName

    The name of the project (in CamelCase)

    inputFile

    The file to use for input (should be csv)

    response

    The name of the response field

    idField

    The name of the ID field

    schemaSource

    The way data schema is discovered

    answersFile

    The file with answers to questions; using stdin if missing

    overwrite

    tells whether we can override the existing project folder

  6. case class GeneratorConfig(command: String = "", projName: String, projectDirectory: File, inputFile: File, response: String, idField: String, schemaSource: SchemaSource, answersFile: Option[File]) extends Product with Serializable

    Permalink

    Represents a command to generate a project.

    Represents a command to generate a project.

    projName

    The name of the project (in CamelCase)

    projectDirectory

    The directory to generate a new project in.

    inputFile

    The file to use for input (should be csv)

    response

    The name of the response field

    idField

    The name of the ID field

    schemaSource

    The way data schema is discovered

    answersFile

    The file with answers to questions; using stdin if missing

  7. trait OpCli extends AnyRef

    Permalink
  8. sealed trait SchemaSource extends AnyRef

    Permalink

    A variety of functionalities for pulling data schema.

    A variety of functionalities for pulling data schema. One way is from Avro (as usual), another is automatic, by applying AutoReaders

Value Members

  1. object CLI

    Permalink
  2. object CommandParser extends OptionParser[CliParameters] with OpCli

    Permalink
  3. package gen

    Permalink

Ungrouped