giter8

G8

object G8

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. G8
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class DefaultValueF(default: String) extends (ResolvedProperties) ⇒ String with Product with Serializable

    The ValueF implementation for handling default properties.

  2. type OrderedProperties = List[(String, String)]

    Properties in the order they were created/defined

  3. type ResolvedProperties = Map[String, String]

    G8 template properties which have been fully resolved, i.

    G8 template properties which have been fully resolved, i.e. defaults replaced by user input, ready for insertion into template

  4. implicit class RichFile extends AnyRef

  5. class STErrorHandler extends STErrorListener

  6. type UnresolvedProperties = List[(String, (ResolvedProperties) ⇒ String)]

    Properties which have not been resolved.

    Properties which have not been resolved. I.e., ValueF() has not been evaluated

  7. type ValueF = (ResolvedProperties) ⇒ String

    A function which will return the resolved value of a property given the properties resolved thus far.

    A function which will return the resolved value of a property given the properties resolved thus far. This is a bit more general than was needed for resolving "dynamic defaults". I did it this way so it's possible to have other ValueF definitions which perform arbitrary logic given previously defined properties.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Param: Regex

  7. object ResolvedProperties

  8. object UnresolvedProperties

  9. def addRandomId(s: String): String

  10. def apply(in: File, out: File, base: File, parameters: Map[String, String]): Seq[File]

  11. def apply(fromMapping: Seq[(File, String)], toPath: File, parameters: Map[String, String]): Seq[File]

  12. def applyTemplate(default: String, resolved: ResolvedProperties): String

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def consoleParams(defaults: UnresolvedProperties, arguments: Seq[String]): Option[Map[String, String]]

  16. def copyScaffolds(sf: File, output: File): Unit

  17. def decapitalize(s: String): String

  18. val defaultTemplatePaths: List[Path]

  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def expandPath(relative: String, toPath: File, parameters: Map[String, String]): File

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def fromDirectory(baseDirectory: File, workingDirectory: File, arguments: Seq[String], forceOverwrite: Boolean, outputDirectory: Option[File]): Either[String, String]

  24. def fromDirectoryRaw(baseDirectory: File, outputDirectory: File, arguments: Seq[String], forceOverwrite: Boolean): Either[String, String]

  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def hyphenate(s: String): String

  28. def interact(params: UnresolvedProperties): ResolvedProperties

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def lowerCamel(s: String): String

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def normalize(s: String): String

  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def packageDir(s: String): String

  36. def packageNaming(s: String): String

  37. def path(path: String): Path

  38. def readProps(stm: InputStream): OrderedProperties

  39. def scalaIdentifier(s: String): String

  40. def snakeCase(s: String): String

  41. def space(s: String): String

  42. def startCase(s: String): String

  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def templateFiles(root: File, baseDirectory: File): Stream[File]

    Extract template files under the first matching relative templatePaths under the baseDirectory.

  45. def templateRoot(baseDirectory: File, templatePaths: List[Path]): File

    Select the root template directory from the given relative paths.

  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def transformProps(props: OrderedProperties): Either[String, OrderedProperties]

    transforms any maven() property operations to the latest version number reported by that service.

  48. def upperCamel(s: String): String

  49. def verbatim(file: File, parameters: Map[String, String], base: File = new File(".")): Boolean

  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def wordOnly(s: String): String

  54. def write(out: File, template: String, parameters: Map[String, String]): Unit

  55. def write(in: File, out: File, parameters: Map[String, String]): Unit

  56. def writeTemplates(tmpl: File, templates: Iterable[File], parameters: Map[String, String], base: File, forceOverwrite: Boolean): Either[String, String]

Inherited from AnyRef

Inherited from Any

Ungrouped