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

com.lmax.simpledsl.DslParam Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package com.lmax.simpledsl;

public abstract class DslParam
{
    /** @deprecated With the addition of covariant return types, this should no longer be necessary. */
    @Deprecated
    public RequiredParam getAsRequiredParam() {
        return null;
    }

    public abstract SimpleDslParam getAsSimpleDslParam();

    public abstract RepeatingParamGroup asRepeatingParamGroup();

    public abstract int consume(int currentPosition, NameValuePair... args);

    public boolean isRequired()
    {
        return false;
    }

    public abstract boolean hasValue();

    public abstract String getName();

    public boolean isValid()
    {
        return true;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy