Class StructureInfo<E extends Structure>
java.lang.Object
ch.njol.skript.lang.SyntaxElementInfo<E>
org.skriptlang.skript.lang.structure.StructureInfo<E>
- Direct Known Subclasses:
SkriptEventInfo
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable EntryValidator
final boolean
Whether the Structure is represented by aSimpleNode
.Fields inherited from class ch.njol.skript.lang.SyntaxElementInfo
elementClass, originClassPath, patterns
-
Constructor Summary
ConstructorDescriptionStructureInfo
(String[] patterns, Class<E> c, String originClassPath) StructureInfo
(String[] patterns, Class<E> c, String originClassPath, boolean simple) StructureInfo
(String[] patterns, Class<E> c, String originClassPath, EntryValidator entryValidator) -
Method Summary
Methods inherited from class ch.njol.skript.lang.SyntaxElementInfo
getElementClass, getOriginClassPath, getPatterns
-
Field Details
-
entryValidator
-
simple
public final boolean simpleWhether the Structure is represented by aSimpleNode
.
-
-
Constructor Details
-
StructureInfo
public StructureInfo(String[] patterns, Class<E> c, String originClassPath) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
StructureInfo
public StructureInfo(String[] patterns, Class<E> c, String originClassPath, boolean simple) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
StructureInfo
public StructureInfo(String[] patterns, Class<E> c, String originClassPath, EntryValidator entryValidator) throws IllegalArgumentException - Throws:
IllegalArgumentException
-