Package-level declarations

Types

Link copied to clipboard

This Enum specify the type of the id saved in the field of a RuleAction.

Link copied to clipboard
data class Option(val name: String, val code: String)
Link copied to clipboard
data class Rule(val condition: String, val actions: List<RuleAction>, val uid: String = "", val name: String? = null, val programStage: String? = null, val priority: Int? = null) : Comparable<Rule>
Link copied to clipboard
data class RuleAction(val data: String?, val type: String, val values: Map<String, String> = emptyMap())
Link copied to clipboard
data class RuleAttributeValue(val trackedEntityAttribute: String, val value: String)
Link copied to clipboard
data class RuleDataValue(val dataElement: String, val value: String)
Link copied to clipboard
data class RuleDataValueHistory(val value: String, val eventDate: Instant, val createdDate: Instant, val programStage: String)
Link copied to clipboard
data class RuleEffect(val ruleId: String, val ruleAction: RuleAction, val data: String? = "")
Link copied to clipboard
data class RuleEffects(val trackerObjectType: TrackerObjectType, val trackerObjectUid: String, val ruleEffects: List<RuleEffect>)
Link copied to clipboard
data class RuleEnrollment(val enrollment: String, val programName: String, val incidentDate: LocalDate, val enrollmentDate: LocalDate, val status: RuleEnrollmentStatus, val organisationUnit: String, val organisationUnitCode: String?, val attributeValues: List<RuleAttributeValue>)
Link copied to clipboard
data class RuleEvent(val event: String, val programStage: String, val programStageName: String, val status: RuleEventStatus, val eventDate: Instant, val createdDate: Instant, val dueDate: LocalDate?, val completedDate: LocalDate?, val organisationUnit: String, val organisationUnitCode: String?, val dataValues: List<RuleDataValue>)
Link copied to clipboard
Link copied to clipboard
data class RuleValidationResult(val valid: Boolean, val errorMessage: String? = null, val exception: Throwable? = null, val description: String? = null)
Link copied to clipboard
Link copied to clipboard
interface RuleVariable
Link copied to clipboard
data class RuleVariableAttribute(val name: String, val useCodeForOptionSet: Boolean, val options: List<Option>, val field: String, val fieldType: RuleValueType) : RuleVariable
Link copied to clipboard
class RuleVariableCalculatedValue(val name: String, val useCodeForOptionSet: Boolean, val options: List<Option>, val field: String, val fieldType: RuleValueType) : RuleVariable
Link copied to clipboard
class RuleVariableCurrentEvent(val name: String, val useCodeForOptionSet: Boolean, val options: List<Option>, val field: String, val fieldType: RuleValueType) : RuleVariable
Link copied to clipboard
class RuleVariableNewestEvent(val name: String, val useCodeForOptionSet: Boolean, val options: List<Option>, val field: String, val fieldType: RuleValueType) : RuleVariable
Link copied to clipboard
class RuleVariableNewestStageEvent(val name: String, val useCodeForOptionSet: Boolean, val options: List<Option>, val field: String, val fieldType: RuleValueType, val programStage: String) : RuleVariable
Link copied to clipboard
class RuleVariablePreviousEvent(val name: String, val useCodeForOptionSet: Boolean, val options: List<Option>, val field: String, val fieldType: RuleValueType) : RuleVariable
Link copied to clipboard

This Enum specify the type of tracker object.