com.lmax.simpledsl.DslParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-dsl Show documentation
Show all versions of simple-dsl Show documentation
Simple DSL - Utilities to write a simple DSL in Java
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