diff options
Diffstat (limited to 'support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/RuleCommand.kt')
-rw-r--r-- | support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/RuleCommand.kt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/RuleCommand.kt b/support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/RuleCommand.kt new file mode 100644 index 0000000000..901718d412 --- /dev/null +++ b/support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/RuleCommand.kt @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: BSD-3-Clause +package org.islandoftex.arara.ruleset + +import kotlinx.serialization.Serializable +import org.islandoftex.arara.utils.CommonUtils + +/** + * Implements the rule command model. + * + * @author Island of TeX + * @version 5.0 + * @since 4.0 + */ +@Serializable +class RuleCommand { + /** + * The command name + */ + var name: String? = null + get() = CommonUtils.removeKeyword(field) + + /** + * The command instruction + */ + var command: String? = null + get() = CommonUtils.removeKeyword(field) + + /** + * The exit status expression + */ + var exit: String? = null + get() = CommonUtils.removeKeyword(field) +} |