Package-level declarations
Types
Link copied to clipboard
open class ExportProfile(val name: String, val fileExtension: String = "zip", val rules: List<ExportRule?>, val requiresPlatform: Platform? = null)
An export profile is used to contain a list of export rules.
Link copied to clipboard
class ExportProfileBuilder(name: String, fileExtension: String = "zip", requiresPlatform: Platform? = null, builder: ExportProfileBuilder.() -> Unit, rules: <Error class: unknown class><ExportRule> = sequenceOf()) : ExportRuleScope
Link copied to clipboard
A functional interface used to declare rules which control what should happen with the content you want to export/package.
Link copied to clipboard
interface ExportRuleScope
Link copied to clipboard
Packaging class is used to store the action of a rule result.
Link copied to clipboard
Rule Context keeps track of currently exporting content.
Link copied to clipboard
Functions
Link copied to clipboard
suspend fun export(profiles: List<ExportProfileBuilder>, onError: suspend (profile: ExportProfile, error: ActionError) -> Unit, onSuccess: suspend (profile: ExportProfile, <Error class: unknown class>, <Error class: unknown class>) -> Unit, lockFile: LockFile, configFile: ConfigFile, platforms: List<Platform>): List<<Error class: unknown class>>
Link copied to clipboard
suspend fun ExportProfile.export(onError: suspend (profile: ExportProfile, error: ActionError) -> Unit, onSuccess: suspend (profile: ExportProfile, <Error class: unknown class>, <Error class: unknown class>) -> Unit, lockFile: LockFile, configFile: ConfigFile, platforms: List<Platform>, overrides: OverridesDeferred)
Link copied to clipboard
suspend fun exportDefaultProfiles(onError: suspend (profile: ExportProfile, error: ActionError) -> Unit, onSuccess: suspend (profile: ExportProfile, <Error class: unknown class>, <Error class: unknown class>) -> Unit, lockFile: LockFile, configFile: ConfigFile, platforms: List<Platform>): List<<Error class: unknown class>>
Link copied to clipboard
Link copied to clipboard
fun exportProfile(name: String, fileExtension: String = "zip", requiresPlatform: Platform? = null, builder: ExportProfileBuilder.() -> Unit): ExportProfileBuilder
Creates an export profile with customized settings and export rules.
Link copied to clipboard
fun ExportRuleScope.OptionalExportRule(requiresProject: String, exportRule: ExportRule): ExportRule?
Link copied to clipboard
suspend fun List<ExportRule>.produceRuleResults(lockFile: LockFile, configFile: ConfigFile, workingSubDir: String, overrides: OverridesDeferred): List<RuleResult>
Runs through a list of ExportRules, applies data to their RuleContexts and transforms them into RuleResults.
Link copied to clipboard
Link copied to clipboard
suspend fun List<RuleResult>.runEffects(onError: suspend (error: ActionError) -> Unit): List<<Error class: unknown class><<Error class: unknown class>?>>
Link copied to clipboard
suspend fun List<RuleResult>.runEffectsOnFinished(onError: suspend (error: ActionError) -> Unit): List<<Error class: unknown class><<Error class: unknown class>?>>