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