summaryrefslogtreecommitdiff
path: root/support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/RuleCommand.kt
blob: 901718d4128b1e28b526260c9d0ef9703fc6f552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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)
}