Uses of Enum Class
com.ultikits.ultitools.config.EntryPresence
Packages that use EntryPresence
-
Uses of EntryPresence in com.ultikits.ultitools.abstracts
Fields in com.ultikits.ultitools.abstracts declared as EntryPresenceModifier and TypeFieldDescriptionprivate EntryPresenceAbstractConfigEntity.ModuleChange.presenceFor an operator's map-entry write made under a condition: whether the entry must already be in the file, or must not be, on the read the gate verifies against (#623);nullwhen presence is not a precondition.Methods in com.ultikits.ultitools.abstracts with parameters of type EntryPresenceModifier and TypeMethodDescriptionfinal voidAbstractConfigEntity.saveOperatorMapEntry(EntryPresence required, String entryPath, String... mapKeys) Writes exactly one entry of a map setting, asAbstractConfigEntity.saveOperatorMapEntry(String, String...)does, but only when the entry's presence in the file is what the operator's command assumes:MUST_BE_ABSENTfor a command that creates the entry (/autoreply add <name>),MUST_BE_PRESENTfor one that changes an existing entry (/autoreply setkeyword <name>).private voidAbstractConfigEntity.writeOperatorMapEntry(EntryPresence required, String entryPath, String... mapKeys) BothsaveOperatorMapEntryoverloads:requiredisnullfor the unconditional one. -
Uses of EntryPresence in com.ultikits.ultitools.config
Fields in com.ultikits.ultitools.config declared as EntryPresenceModifier and TypeFieldDescriptionprivate final EntryPresenceConfigEntryPresenceException.requiredMethods in com.ultikits.ultitools.config that return EntryPresenceModifier and TypeMethodDescriptionConfigEntryPresenceException.getRequired()The condition the write was made under, which did not hold.static EntryPresenceReturns the enum constant of this class with the specified name.static EntryPresence[]EntryPresence.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.ultikits.ultitools.config with parameters of type EntryPresenceModifierConstructorDescriptionConfigEntryPresenceException(String file, String reason, EntryPresence required) Creates the exception for one write whose condition did not hold.