All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hisp.dhis.rules.models.RuleActionUnsupported Maven / Gradle / Ivy

package org.hisp.dhis.rules.models;

import com.google.auto.value.AutoValue;

import javax.annotation.Nonnull;

@AutoValue
public abstract class RuleActionUnsupported
        extends RuleAction
{

    @Nonnull
    public static RuleActionUnsupported create( @Nonnull String content, @Nonnull String actionValueType )
    {
        return new AutoValue_RuleActionUnsupported( "", content, actionValueType );
    }

    /**
     * @return a message to show to user
     * when an actionType is not supported
     */
    @Nonnull
    public abstract String content();

    /**
     * @return name of the unsupported action.
     */
    @Nonnull
    public abstract String actionValueType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy