Package dev.rollczi.litecommands.meta
Interface Meta
public interface Meta
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetaKey<ArgumentKey> Deprecated.static final MetaKey<CooldownContext> static final Metastatic final MetaKey<List<PermissionSet>> static final MetaKey<SchedulerType> static final MetaKey<PriorityLevel> Deprecated.Use AnnotationsMeta#REQUIREMENT_PARAMETER insteadstatic final MetaKey<List<RequirementValidator<?, ?>>> Deprecated.static final MetaKey<StrictMode> Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiondefault MetaDeprecated.UseputAll(Meta)insteadclear()copy()static Metacreate()<T> Metaedit(MetaKey<T> key, UnaryOperator<T> operator) <T> T<T> TCollection<MetaKey<?>> getKeys()booleandefault <E> Metalist(MetaKey<List<E>> key, UnaryOperator<MetaListEditor<E>> operator) default <E> MetaListEditor<E> listEditor(MetaKey<List<E>> key) <T> Meta<T> Meta
-
Field Details
-
DESCRIPTION
-
PERMISSIONS
-
PRIORITY
-
NATIVE_PERMISSIONS
-
POLL_TYPE
-
ARGUMENT_KEY
Deprecated. -
COMMAND_ORIGIN_TYPE
-
VALIDATORS
Deprecated. -
REQUIREMENT_VALIDATORS
Deprecated. -
COOLDOWN
-
STRICT_MODE
-
REQUIREMENT_PARAMETER
@Deprecated @ScheduledForRemoval(inVersion="3.12.0") static final MetaKey<Parameter> REQUIREMENT_PARAMETERDeprecated.Use AnnotationsMeta#REQUIREMENT_PARAMETER instead -
EMPTY_META
-
-
Method Details
-
get
-
get
-
put
-
edit
-
remove
-
clear
Meta clear() -
has
-
listEditor
-
list
-
apply
Deprecated.UseputAll(Meta)instead -
putAll
-
copy
Meta copy() -
getKeys
Collection<MetaKey<?>> getKeys() -
create
-