org.hisp.dhis.rules.models.RuleVariableCurrentEvent Maven / Gradle / Ivy
package org.hisp.dhis.rules.models;
import com.google.auto.value.AutoValue;
import org.hisp.dhis.rules.Option;
import org.hisp.dhis.rules.RuleVariableValue;
import org.hisp.dhis.rules.RuleVariableValueMapBuilder;
import javax.annotation.Nonnull;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static org.hisp.dhis.rules.Utils.getLastUpdateDate;
@AutoValue
public abstract class RuleVariableCurrentEvent
extends RuleVariableDataElement
{
@Nonnull
public static RuleVariableCurrentEvent create(@Nonnull String name,
@Nonnull String dataElement, @Nonnull RuleValueType dataElementValueType, boolean useCodeForOptionSet, List