PathParameter

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class PathParameter(val label: String, val absolute: Boolean = false, val context: String = "null", val extensions: Array<String> = [], val directory: Boolean = false, val order: Int = Int.MAX_VALUE)(source)

ActionParameter annotation for functions without arguments

Properties

Link copied to clipboard
val absolute: Boolean = false

should the path be stored as an absolute path

Link copied to clipboard

which dialog context to use

Link copied to clipboard
val directory: Boolean = false

the path points to a directory

Link copied to clipboard

an array of supported extensions

Link copied to clipboard

a short description of the parameter

Link copied to clipboard
val order: Int

hint for where to place the parameter in user interfaces