SectionHelper

class SectionHelper(    val sections: Sections,     val ignoredSections: Set<Long> = DEFAULT_IGNORED_SECTIONS,     val sectionDirectoryNaming: (Section) -> String = { "${it.name}-${it.id}" },     val caseFileNaming: (Case) -> String = { case -> "C${case.id}.feature" })

Constructors

Link copied to clipboard
fun SectionHelper(    sections: Sections,     ignoredSections: Set<Long> = DEFAULT_IGNORED_SECTIONS,     sectionDirectoryNaming: (Section) -> String = { "${it.name}-${it.id}" },     caseFileNaming: (Case) -> String = { case -> "C${case.id}.feature" })

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun allChildren(sectionId: Long): List<Section>
fun allChildren(section: Section): List<Section>
Link copied to clipboard
fun directChildren(section: Section): List<Section>
Link copied to clipboard
fun fileRelativePath(case: Case): String
Link copied to clipboard
fun sectionDirectory(sectionId: Long): String
Link copied to clipboard
fun sectionsOfCase(case: Case): List<Section>
Link copied to clipboard
fun sectionsOfSection(sectionId: Long): List<Section>

Properties

Link copied to clipboard
val caseFileNaming: (Case) -> String
Link copied to clipboard
val ignoredSections: Set<Long>
Link copied to clipboard
val sectionDirectoryNaming: (Section) -> String
Link copied to clipboard
val sections: Sections
Link copied to clipboard
val sectionsById: Map<Long, Section>