public abstract class AbstractStringRequirement<A,B> extends AbstractRequirement<A,B,java.lang.String>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
defaultValue |
protected java.lang.String |
value |
keys
Constructor and Description |
---|
AbstractStringRequirement(java.util.Set<java.lang.String> keys,
java.lang.String defaultValue) |
AbstractStringRequirement(java.util.Set<java.lang.String> keys,
java.lang.String defaultValue,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Requirement<A,B,?>> |
createSimple(java.lang.String key,
java.lang.String spec) |
java.lang.String |
getValue()
Gets the internal value of the requirement
|
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyData, applyMinecraft, createInstance, getPriority, isDataMatch, isMinecraftMatch, shouldContinue
protected java.lang.String value
protected java.lang.String defaultValue
public AbstractStringRequirement(java.util.Set<java.lang.String> keys, java.lang.String defaultValue)
public AbstractStringRequirement(java.util.Set<java.lang.String> keys, java.lang.String defaultValue, java.lang.String value)
public java.util.List<Requirement<A,B,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple
in class AbstractRequirement<A,B,java.lang.String>
public java.lang.String getValue()
Requirement