Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractValue<T> - Class in is.codion.common.value
-
An abstract
Valueimplementation handling everything except the value itself.
The constructor parameternotifyspecifies whether thisValueinstance should automatically callAbstractValue.notifyListeners()when the value is set or changed viaAbstractValue.set(Object). - AbstractValue() - Constructor for class is.codion.common.value.AbstractValue
- AbstractValue(T) - Constructor for class is.codion.common.value.AbstractValue
-
Creates an
AbstractValueinstance, which does not notify listeners. - AbstractValue(T, Value.Notify) - Constructor for class is.codion.common.value.AbstractValue
-
Creates an
AbstractValueinstance. - accept(T) - Method in interface is.codion.common.event.Event
-
Triggers this event.
- accept(T) - Method in class is.codion.common.value.AbstractValue
- accept(T) - Method in interface is.codion.common.value.Value
-
Sets the value
- add(State) - Method in interface is.codion.common.state.State.Group
-
Adds a state to this
State.Groupvia a WeakReference, so it does not prevent it from being garbage collected. - add(StateObserver) - Method in interface is.codion.common.state.State.Combination
-
Adds a state to this state combination
- add(Collection<State>) - Method in interface is.codion.common.state.State.Group
-
Adds the given states to this
State.Groupvia a WeakReference, so it does not prevent it from being garbage collected. - add(T) - Method in interface is.codion.common.value.ValueSet
-
Adds a value to this set, returns true if the set did not contain the value before adding.
- addAll(T...) - Method in interface is.codion.common.value.ValueSet
-
Adds the given values to this set, returns true unless the set already contained all the values.
- addDataListener(Consumer<? super T>) - Method in interface is.codion.common.event.EventObserver
-
Adds
listenerto thisEventObserver. - addDataListener(Consumer<? super T>) - Method in class is.codion.common.value.AbstractValue
- addListener(Runnable) - Method in interface is.codion.common.event.EventObserver
-
Adds
listenerto thisEventObserver. - addListener(Runnable) - Method in class is.codion.common.value.AbstractValue
- addValidator(Value.Validator<T>) - Method in class is.codion.common.value.AbstractValue
- addValidator(Value.Validator<T>) - Method in interface is.codion.common.value.Value
-
Adds a validator to this
Value. - addWeakDataListener(Consumer<? super T>) - Method in interface is.codion.common.event.EventObserver
-
Uses a
WeakReference, addinglistenerdoes not prevent it from being garbage collected. - addWeakDataListener(Consumer<? super T>) - Method in class is.codion.common.value.AbstractValue
- addWeakListener(Runnable) - Method in interface is.codion.common.event.EventObserver
-
Uses a
WeakReference, addinglistenerdoes not prevent it from being garbage collected. - addWeakListener(Runnable) - Method in class is.codion.common.value.AbstractValue
- allocatedMemory() - Static method in class is.codion.common.Memory
- and(StateObserver...) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Combinationinstance usingConjunction.AND. - and(Collection<? extends StateObserver>) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Combinationinstance usingConjunction.AND. - AND - Enum constant in enum class is.codion.common.Conjunction
- appendTo(StringBuilder) - Method in interface is.codion.common.logging.MethodLogger.Entry
-
Appends this logger entry along with any child-entries to the given StringBuilder.
- arguments() - Method in interface is.codion.common.proxy.ProxyBuilder.ProxyMethod.Parameters
- argumentToString(String, Object) - Method in interface is.codion.common.logging.MethodLogger.ArgumentToString
- argumentToString(String, Object) - Method in class is.codion.common.logging.MethodLogger.DefaultArgumentToString
B
- BETWEEN - Enum constant in enum class is.codion.common.Operator
- BETWEEN_EXCLUSIVE - Enum constant in enum class is.codion.common.Operator
- booleanValue(String) - Static method in class is.codion.common.Configuration
-
Creates a boolean configuration value
- booleanValue(String) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given boolean property
- booleanValue(String, boolean) - Static method in class is.codion.common.Configuration
-
Creates a boolean configuration value
- booleanValue(String, boolean) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given boolean property
- boxedType(Class<T>) - Static method in class is.codion.common.Primitives
- build() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- build() - Method in interface is.codion.common.proxy.ProxyBuilder
-
Builds the Proxy instance.
- build() - Method in interface is.codion.common.scheduler.TaskScheduler.Builder
- builder() - Static method in interface is.codion.common.format.LocaleDateTimePattern
- builder(Class<T>) - Static method in interface is.codion.common.proxy.ProxyBuilder
-
Returns a new
ProxyBuilderinstance. - builder(Runnable) - Static method in interface is.codion.common.scheduler.TaskScheduler
C
- caption() - Method in interface is.codion.common.item.Item
- characterValue(String) - Static method in class is.codion.common.Configuration
-
Creates a character configuration value
- characterValue(String) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given long property
- characterValue(String, char) - Static method in class is.codion.common.Configuration
-
Creates a character configuration value
- characterValue(String, char) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given long property
- childEntries() - Method in interface is.codion.common.logging.MethodLogger.Entry
- clear() - Method in interface is.codion.common.property.PropertyValue
-
Sets this value to null as well as removing it from the underlying store and clearing the system property.
- clear() - Method in interface is.codion.common.value.ValueSet
-
Clears all values from this ValueSet.
- clearPassword() - Method in interface is.codion.common.user.User
-
Clears the password
- collate(List<T>) - Static method in class is.codion.common.Text
-
Sorts the string representations of the list contents, using the space aware collator
- collator() - Static method in class is.codion.common.Text
-
Creates a Comparator which compares the string representations of the objects using the default Collator, taking spaces into account.
- collator(Locale) - Static method in class is.codion.common.Text
-
Creates a Comparator which compares the string representations of the objects using the default Collator, taking spaces into account.
- combination(Conjunction, StateObserver...) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Combinationinstance. - combination(Conjunction, Collection<? extends StateObserver>) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Combinationinstance. - Configuration - Class in is.codion.common
-
A utility class for central configuration values.
- CONFIGURATION_FILE - Static variable in class is.codion.common.Configuration
-
Specifies the main configuration file.
Prefix with 'classpath:' to indicate that the configuration file is on the classpath. - CONFIGURATION_FILE_REQUIRED - Static variable in class is.codion.common.Configuration
-
Specifies whether the application requires a configuration file to run.
If this is set to true and the file referenced byConfiguration.CONFIGURATION_FILE
is not found a FileNotFoundException is thrown when this class is loaded.
Value type: Boolean
Default value: false - conjunction() - Method in interface is.codion.common.state.State.Combination
-
Returns the
Conjunctionused when combining the states. - Conjunction - Enum Class in is.codion.common
-
AND / OR
- containsProperty(String) - Method in interface is.codion.common.property.PropertyStore
-
Returns true if this PropertyStore contains a value for the given property
- copy() - Method in interface is.codion.common.user.User
- createFormatter() - Method in interface is.codion.common.format.LocaleDateTimePattern
D
- dataListener(Runnable) - Static method in interface is.codion.common.event.Event
- datePattern() - Method in interface is.codion.common.format.LocaleDateTimePattern
- datePattern(Locale) - Method in interface is.codion.common.format.LocaleDateTimePattern
- dateTimePattern() - Method in interface is.codion.common.format.LocaleDateTimePattern
- dateTimePattern(Locale) - Method in interface is.codion.common.format.LocaleDateTimePattern
- DEFAULT_COLLATOR_LANGUAGE - Static variable in class is.codion.common.Text
-
Specifies the default collator locale language.
Value type: String
Default value:Locale.getDefault().getLanguage(). - DefaultArgumentToString() - Constructor for class is.codion.common.logging.MethodLogger.DefaultArgumentToString
- defaultValue(Class<T>) - Static method in class is.codion.common.Primitives
- delegate() - Method in interface is.codion.common.proxy.ProxyBuilder.ProxyMethod.Parameters
- delegate(T) - Method in interface is.codion.common.proxy.ProxyBuilder
-
Sets the delegate instance to forward non-proxied method calls to.
- delimitedString(List<String>, List<List<String>>, String) - Static method in class is.codion.common.Text
-
Creates a delimited string from the given input lists.
- delimiter(String) - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- delimiterDash() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- delimiterDot() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- delimiterSlash() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- description() - Method in enum class is.codion.common.Operator
- deserialize(byte[]) - Static method in class is.codion.common.Serializer
-
Deserializes the given byte array into a T, null or an empty byte array result in a null return value
- doubleValue(String) - Static method in class is.codion.common.Configuration
-
Creates a double configuration value
- doubleValue(String) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given double property
- doubleValue(String, double) - Static method in class is.codion.common.Configuration
-
Creates a double configuration value
- doubleValue(String, double) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given double property
- duration() - Method in interface is.codion.common.logging.MethodLogger.Entry
-
Returns the duration of the method call this entry represents in nanoseconds, this value is 0 or undefined until the exit time has been set.
E
- empty() - Method in interface is.codion.common.value.ValueSet
- enter(String) - Method in interface is.codion.common.logging.MethodLogger
- enter(String, Object) - Method in interface is.codion.common.logging.MethodLogger
- enterMessage() - Method in interface is.codion.common.logging.MethodLogger.Entry
- entries() - Method in interface is.codion.common.logging.MethodLogger
- enumValue(String, Class<T>) - Static method in class is.codion.common.Configuration
-
Creates an enum configuration value
- enumValue(String, Class<T>) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given enum property
- enumValue(String, Class<T>, T) - Static method in class is.codion.common.Configuration
-
Creates an enum configuration value
- enumValue(String, Class<T>, T) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given enum property
- EQUAL - Enum constant in enum class is.codion.common.Operator
- equalTo(T) - Method in interface is.codion.common.value.ValueObserver
-
Returns true if the underlying value is equal to the given one.
- event() - Static method in interface is.codion.common.event.Event
-
Creates a new
Event. - Event<T> - Interface in is.codion.common.event
-
An event class.
- EventObserver<T> - Interface in is.codion.common.event
-
Manages listeners for an Event.
- exit(String) - Method in interface is.codion.common.logging.MethodLogger
- exit(String, Throwable) - Method in interface is.codion.common.logging.MethodLogger
- exit(String, Throwable, String) - Method in interface is.codion.common.logging.MethodLogger
F
- FILE_SEPARATOR - Static variable in class is.codion.common.Separators
-
The file separator for the current system, specified by the 'file.separator' system property
- files() - Method in interface is.codion.common.logging.LoggerProxy
- formatValue(String, String) - Method in interface is.codion.common.property.PropertyStore.PropertyFormatter
-
Formats the given value.
- freeMemory() - Static method in class is.codion.common.Memory
G
- get() - Method in interface is.codion.common.item.Item
- getLogLevel() - Method in interface is.codion.common.logging.LoggerProxy
- getOrThrow() - Method in interface is.codion.common.property.PropertyValue
-
Returns the underlying value, if the value is null then a
IllegalStateExceptionis thrown. - getOrThrow(String) - Method in interface is.codion.common.property.PropertyValue
-
Returns the underlying value, if the value is null then a
IllegalStateExceptionis thrown. - getProperty(String) - Method in interface is.codion.common.property.PropertyStore
-
Retrieves the value for the given property, null if no value is present
- GREATER_THAN - Enum constant in enum class is.codion.common.Operator
- GREATER_THAN_OR_EQUAL - Enum constant in enum class is.codion.common.Operator
- group(State...) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Groupinstance, which guarantees that only a single state within the group is active at a time - group(Collection<State>) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Groupinstance, which guarantees that only a single state within the group is active at a time
H
- hasChildEntries() - Method in interface is.codion.common.logging.MethodLogger.Entry
- hoursMinutes() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- hoursMinutesSeconds() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- hoursMinutesSecondsMilliseconds() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
I
- initialDelay(int) - Method in interface is.codion.common.scheduler.TaskScheduler.Builder
- instance() - Static method in interface is.codion.common.logging.LoggerProxy
- integerValue(String) - Static method in class is.codion.common.Configuration
-
Creates an integer configuration value
- integerValue(String) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given integer property
- integerValue(String, int) - Static method in class is.codion.common.Configuration
-
Creates an integer configuration value
- integerValue(String, int) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given integer property
- interval() - Method in interface is.codion.common.scheduler.TaskScheduler
-
Controls the task interval and when set, in case this scheduler was running, re-schedules the task.
- interval(int, TimeUnit) - Method in interface is.codion.common.scheduler.TaskScheduler.Builder
- invoke(ProxyBuilder.ProxyMethod.Parameters<T>) - Method in interface is.codion.common.proxy.ProxyBuilder.ProxyMethod
-
Invokes this proxy method.
- is.codion.common - package is.codion.common
- is.codion.common.core - module is.codion.common.core
-
Common classes used throughout, such as:
Event
EventObserver
State
StateObserver
Value
ValueObserver
Configuration values:
Text.DEFAULT_COLLATOR_LANGUAGE - is.codion.common.event - package is.codion.common.event
- is.codion.common.format - package is.codion.common.format
- is.codion.common.item - package is.codion.common.item
- is.codion.common.logging - package is.codion.common.logging
- is.codion.common.property - package is.codion.common.property
- is.codion.common.proxy - package is.codion.common.proxy
- is.codion.common.scheduler - package is.codion.common.scheduler
- is.codion.common.state - package is.codion.common.state
- is.codion.common.user - package is.codion.common.user
- is.codion.common.value - package is.codion.common.value
- is.codion.common.version - package is.codion.common.version
- isEnabled() - Method in interface is.codion.common.logging.MethodLogger
- isNotNull() - Method in interface is.codion.common.value.ValueObserver
- isNull() - Method in interface is.codion.common.value.ValueObserver
- item(T) - Static method in interface is.codion.common.item.Item
-
Returns an
Item, with the caption as item.toString() or an empty string in case of a null value - item(T, String) - Static method in interface is.codion.common.item.Item
-
Creates a new
Item. - Item<T> - Interface in is.codion.common.item
-
A class encapsulating a constant value and a caption representing the value.
- itemI18n(T, String, String) - Static method in interface is.codion.common.item.Item
-
Creates a new
Item, which gets its caption from a resource bundle.
L
- leftPad(String, int, char) - Static method in class is.codion.common.Text
-
Left pads the given string with the given pad character until a length of
lengthhas been reached - LESS_THAN - Enum constant in enum class is.codion.common.Operator
- LESS_THAN_OR_EQUAL - Enum constant in enum class is.codion.common.Operator
- levels() - Method in interface is.codion.common.logging.LoggerProxy
- LINE_SEPARATOR - Static variable in class is.codion.common.Separators
-
The line separator for the current system, specified by the 'line.separator' system property
- link(Value<T>) - Method in class is.codion.common.value.AbstractValue
- link(Value<T>) - Method in interface is.codion.common.value.Value
-
Creates a bidirectional link between this and the given original value, so that changes in one are reflected in the other.
- link(ValueObserver<T>) - Method in class is.codion.common.value.AbstractValue
- link(ValueObserver<T>) - Method in interface is.codion.common.value.Value
-
Creates a unidirectional link between this value and the given original value observer, so that changes in the original value are reflected in this one.
- listener(Consumer<T>) - Static method in interface is.codion.common.event.Event
-
Creates a
Runnablecausing thelistenersConsumer.accept(Object)to be called with a null argument on each occurrence. - listValue(String, Function<String, T>) - Static method in class is.codion.common.Configuration
-
Creates a list configuration value
- listValue(String, Function<String, T>, Function<T, String>) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given list property.
- listValue(String, Function<String, T>, Function<T, String>, List<T>) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given list property.
- listValue(String, Function<String, T>, List<T>) - Static method in class is.codion.common.Configuration
-
Creates a list configuration value
- LocaleDateTimePattern - Interface in is.codion.common.format
-
Specifies a locale sensitive numerical date format pattern.
- LocaleDateTimePattern.Builder - Interface in is.codion.common.format
-
A Builder for
LocaleDateTimePattern. - LoggerProxy - Interface in is.codion.common.logging
-
A logging proxy facilitating the setting of log levels
- longValue(String) - Static method in class is.codion.common.Configuration
-
Creates a long configuration value
- longValue(String) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given long property
- longValue(String, long) - Static method in class is.codion.common.Configuration
-
Creates a long configuration value
- longValue(String, long) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given long property
M
- major() - Method in interface is.codion.common.version.Version
- map(Function<T, T>) - Method in class is.codion.common.value.AbstractValue
- map(Function<T, T>) - Method in interface is.codion.common.value.Value
-
Sets a new value mapped from the current value.
- mapNull(Supplier<T>) - Method in interface is.codion.common.value.Value
-
Sets a new value in case the current value is null.
- maxMemory() - Static method in class is.codion.common.Memory
- Memory - Class in is.codion.common
-
A utility class for memory usage information.
- memoryUsage() - Static method in class is.codion.common.Memory
- metadata() - Method in interface is.codion.common.version.Version
- method() - Method in interface is.codion.common.logging.MethodLogger.Entry
- method(String, ProxyBuilder.ProxyMethod<T>) - Method in interface is.codion.common.proxy.ProxyBuilder
-
Proxy the given no-argument method with the given proxy method.
- method(String, Class<?>, ProxyBuilder.ProxyMethod<T>) - Method in interface is.codion.common.proxy.ProxyBuilder
-
Proxy the given single-argument method with the given proxy method.
- method(String, List<Class<?>>, ProxyBuilder.ProxyMethod<T>) - Method in interface is.codion.common.proxy.ProxyBuilder
-
Proxy the given method with the given proxy method.
- methodLogger(int) - Static method in interface is.codion.common.logging.MethodLogger
-
Creates a new MethodLogger, disabled by default.
- methodLogger(int, MethodLogger.ArgumentToString) - Static method in interface is.codion.common.logging.MethodLogger
-
Creates a new MethodLogger, disabled by default.
- MethodLogger - Interface in is.codion.common.logging
-
A method call logger allowing logging of nested method calls.
- MethodLogger.ArgumentToString - Interface in is.codion.common.logging
-
Provides String representations of method arguments for log display.
- MethodLogger.DefaultArgumentToString - Class in is.codion.common.logging
-
Provides String representations of method arguments.
- MethodLogger.Entry - Interface in is.codion.common.logging
-
A method logger entry.
- minor() - Method in interface is.codion.common.version.Version
N
- not() - Method in interface is.codion.common.state.StateObserver
- NOT_BETWEEN - Enum constant in enum class is.codion.common.Operator
- NOT_BETWEEN_EXCLUSIVE - Enum constant in enum class is.codion.common.Operator
- NOT_EQUAL - Enum constant in enum class is.codion.common.Operator
- notEmpty() - Method in interface is.codion.common.value.ValueSet
- notEqualTo(T) - Method in interface is.codion.common.value.ValueObserver
-
Returns true if the underlying value is NOT equal to the given one.
- notifyListeners() - Method in class is.codion.common.value.AbstractValue
-
Notifies listeners that the underlying value has changed or at least that it may have changed
- notNull(Object...) - Static method in class is.codion.common.NullOrEmpty
-
Checks if any of the given objects is null
- NULL_PROXY - Static variable in interface is.codion.common.logging.LoggerProxy
-
The null logger proxy instance, zero functionality.
- nullable() - Method in class is.codion.common.value.AbstractValue
- nullable() - Method in interface is.codion.common.value.ValueObserver
-
If false then get() is guaranteed to never return null.
- nullOrEmpty(String) - Static method in class is.codion.common.NullOrEmpty
-
Returns true if the given string is null or empty.
- nullOrEmpty(String...) - Static method in class is.codion.common.NullOrEmpty
-
Returns true if any of the given strings is null or empty.
- nullOrEmpty(Collection<?>) - Static method in class is.codion.common.NullOrEmpty
-
Returns true if the given collection is null or empty.
- nullOrEmpty(Map<?, ?>) - Static method in class is.codion.common.NullOrEmpty
-
Returns true if the given map is null or empty.
- NullOrEmpty - Class in is.codion.common
-
Utility methods for checking if arguments are null or empty, if applicable.
O
- observer() - Method in interface is.codion.common.event.Event
- observer() - Method in interface is.codion.common.state.State
-
Returns a
StateObservernotified each time the state changes - observer() - Method in class is.codion.common.value.AbstractValue
- observer() - Method in interface is.codion.common.value.Value
-
Returns a
ValueObservernotified each time this value changes. - Operator - Enum Class in is.codion.common
-
Enumerating all the available operator types.
- optional() - Method in interface is.codion.common.value.ValueObserver
- or(StateObserver...) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Combinationinstance usingConjunction.OR. - or(Collection<? extends StateObserver>) - Static method in interface is.codion.common.state.State
-
Creates a new
State.Combinationinstance usingConjunction.OR. - OR - Enum constant in enum class is.codion.common.Conjunction
P
- parse(String) - Static method in interface is.codion.common.user.User
-
Parses a User from a string, containing a username and password with a single ':' as delimiter, i.e.
- parse(String) - Static method in interface is.codion.common.version.Version
-
Parses a string on the form x.y.z-metadata
- parseCommaSeparatedValues(String) - Static method in class is.codion.common.Text
-
Parses, splits and trims the given comma separated string.
- parsePropertiesFile(Class<?>, String) - Static method in interface is.codion.common.version.Version
-
Reads a properties file from the classpath and parses the value associated with the 'version' key.
- password() - Method in interface is.codion.common.user.User
- patch() - Method in interface is.codion.common.version.Version
- PATH_SEPARATOR - Static variable in class is.codion.common.Separators
-
The path separator for the current system, specified by the 'path.separator' system property
- Primitives - Class in is.codion.common
-
A utility class for working with primitives.
- properties(String) - Method in interface is.codion.common.property.PropertyStore
-
Returns the values associated with the properties with the given prefix
- propertyName() - Method in interface is.codion.common.property.PropertyValue
- propertyNames(String) - Method in interface is.codion.common.property.PropertyStore
-
Returns all property names with the given prefix
- propertyStore() - Static method in interface is.codion.common.property.PropertyStore
-
Creates a new empy PropertyStore.
- propertyStore(File) - Static method in interface is.codion.common.property.PropertyStore
-
Creates a new PropertyStore initialized with the properties found in the given file.
- propertyStore(InputStream) - Static method in interface is.codion.common.property.PropertyStore
-
Creates a new PropertyStore initialized with the properties found in the given file.
- propertyStore(Properties) - Static method in interface is.codion.common.property.PropertyStore
-
Creates a new PropertyStore initialized with the given properties.
- PropertyStore - Interface in is.codion.common.property
-
Provides configuration values which sync with system properties when set.
- PropertyStore.PropertyFormatter - Interface in is.codion.common.property
-
Formats a property value, can f.ex.
- propertyValue(String) - Method in interface is.codion.common.property.PropertyStore
-
Returns the Value associated with the given property, an empty Optional if no such Value has been created.
- PropertyValue<T> - Interface in is.codion.common.property
-
A Value associated with a named property.
- proxy() - Method in interface is.codion.common.proxy.ProxyBuilder.ProxyMethod.Parameters
- ProxyBuilder<T> - Interface in is.codion.common.proxy
-
Builds a simple dynamic proxy for a single interface.
- ProxyBuilder.ProxyMethod<T> - Interface in is.codion.common.proxy
-
A proxy method.
- ProxyBuilder.ProxyMethod.Parameters<T> - Interface in is.codion.common.proxy
-
Parameters available to the invocation handler when calling a proxy method.
R
- randomString(int, int) - Static method in class is.codion.common.Text
-
Creates a random string from alphanumeric uppercase characters
- remove(StateObserver) - Method in interface is.codion.common.state.State.Combination
-
Removes a state from this state combination
- remove(T) - Method in interface is.codion.common.value.ValueSet
-
Removes a value from this set, returns true if the set contained the value before removing.
- removeAll(String) - Method in interface is.codion.common.property.PropertyStore
-
Removes all properties with the given prefix
- removeAll(T...) - Method in interface is.codion.common.value.ValueSet
-
Removes the given values from this set, returns true if the set contained one or more of the values.
- removeDataListener(Consumer<? super T>) - Method in interface is.codion.common.event.EventObserver
-
Removes
listenerfrom thisEventObserver - removeDataListener(Consumer<? super T>) - Method in class is.codion.common.value.AbstractValue
- removeListener(Runnable) - Method in interface is.codion.common.event.EventObserver
-
Removes
listenerfrom thisEventObserver - removeListener(Runnable) - Method in class is.codion.common.value.AbstractValue
- removeValidator(Value.Validator<T>) - Method in class is.codion.common.value.AbstractValue
- removeValidator(Value.Validator<T>) - Method in interface is.codion.common.value.Value
-
Removes the given validator from this value
- removeWeakDataListener(Consumer<? super T>) - Method in interface is.codion.common.event.EventObserver
-
Removes
listenerfrom thisEventObserver. - removeWeakDataListener(Consumer<? super T>) - Method in class is.codion.common.value.AbstractValue
- removeWeakListener(Runnable) - Method in interface is.codion.common.event.EventObserver
-
Removes
listenerfrom thisEventObserver - removeWeakListener(Runnable) - Method in class is.codion.common.value.AbstractValue
- rightPad(String, int, char) - Static method in class is.codion.common.Text
-
Right pads the given string with the given pad character until a length of
lengthhas been reached - roundDouble(Double, int) - Static method in class is.codion.common.Rounder
-
Rounds the given double to
placesdecimal places, usingRoundingMode.HALF_UP. - roundDouble(Double, int, RoundingMode) - Static method in class is.codion.common.Rounder
-
Rounds the given double to
placesdecimal places. - Rounder - Class in is.codion.common
-
A utility class for rounding doubles.
- run() - Method in interface is.codion.common.event.Event
-
Triggers this event.
- running() - Method in interface is.codion.common.scheduler.TaskScheduler
S
- Separators - Class in is.codion.common
-
Utility class for separators.
- serialize(Object) - Static method in class is.codion.common.Serializer
-
Serializes the given Object, null object results in an empty byte array
- Serializer - Class in is.codion.common
-
Utility class for serialization.
- set(Collection<T>) - Method in interface is.codion.common.value.ValueSet
-
Sets the values.
- set(T) - Method in class is.codion.common.value.AbstractValue
- set(T) - Method in interface is.codion.common.value.Value
-
Sets the value.
- setEnabled(boolean) - Method in interface is.codion.common.logging.MethodLogger
- setLogLevel(Object) - Method in interface is.codion.common.logging.LoggerProxy
-
Sets the log level
- setProperty(String, String) - Method in interface is.codion.common.property.PropertyStore
-
Sets the value of the given property
- setValue(T) - Method in class is.codion.common.value.AbstractValue
-
Sets the actual internal value.
- start() - Method in interface is.codion.common.scheduler.TaskScheduler.Builder
-
Builds and starts a new
TaskScheduler. - start() - Method in interface is.codion.common.scheduler.TaskScheduler
-
Starts this TaskScheduler, if it is running it is restarted, using the initial delay specified during construction.
- state() - Static method in interface is.codion.common.state.State
-
Creates a new 'false'
Stateinstance. - state(boolean) - Static method in interface is.codion.common.state.State
-
Creates a new
Stateinstance. - State - Interface in is.codion.common.state
-
A class encapsulating a boolean state, non-nullable with null values translated to false.
- State.Combination - Interface in is.codion.common.state
-
A state which combines a number of states, either ANDing or ORing those together when determining its own state.
- State.Group - Interface in is.codion.common.state
-
A
State.Groupdeactivates all other states when a state in the group is activated. - StateObserver - Interface in is.codion.common.state
-
Specifies an observer for a
Stateinstance. - stop() - Method in interface is.codion.common.scheduler.TaskScheduler
-
Stops this TaskScheduler, if it is not running calling this method has no effect.
- stringValue(String) - Static method in class is.codion.common.Configuration
-
Creates a string configuration value
- stringValue(String) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given string property
- stringValue(String, String) - Static method in class is.codion.common.Configuration
-
Creates a string configuration value
- stringValue(String, String) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value for the given string property
- systemProperties() - Static method in interface is.codion.common.property.PropertyStore
- systemProperties(PropertyStore.PropertyFormatter) - Static method in interface is.codion.common.property.PropertyStore
-
Returns a String containing all system properties, sorted by name, written by the given
PropertyStore.PropertyFormatter.
T
- TaskScheduler - Interface in is.codion.common.scheduler
-
A task scheduler based on a
ScheduledExecutorService, scheduled at a fixed rate, using a daemon thread by default. - TaskScheduler.Builder - Interface in is.codion.common.scheduler
-
A builder for
TaskScheduler - Text - Class in is.codion.common
-
A utility class for working with text, such as sorting and reading from files
- textFileContents(File, Charset) - Static method in class is.codion.common.Text
-
Fetch the entire contents of a textfile, and return it in a String
- textFileContents(InputStream, Charset) - Static method in class is.codion.common.Text
-
Fetch the entire contents of an InputStream, and return it in a String.
- textFileContents(Class<T>, String) - Static method in class is.codion.common.Text
-
Fetch the entire contents of a resource text file, and return it in a String, using the default Charset.
- textFileContents(Class<T>, String, Charset) - Static method in class is.codion.common.Text
-
Fetch the entire contents of a resource textfile, and return it in a String.
- textFileContents(String, Charset) - Static method in class is.codion.common.Text
-
Fetch the entire contents of a textfile, and return it in a String
- threadFactory(ThreadFactory) - Method in interface is.codion.common.scheduler.TaskScheduler.Builder
- timePattern() - Method in interface is.codion.common.format.LocaleDateTimePattern
- timeUnit() - Method in interface is.codion.common.scheduler.TaskScheduler
- toString(int) - Method in interface is.codion.common.logging.MethodLogger.Entry
-
Returns a string representation of this log entry.
- toString(Object) - Method in class is.codion.common.logging.MethodLogger.DefaultArgumentToString
-
Returns a String representation of the given object.
- toString(String, Object) - Method in class is.codion.common.logging.MethodLogger.DefaultArgumentToString
-
Returns a String representation of the given object.
U
- underscoreToCamelCase(String) - Static method in class is.codion.common.Text
-
Converts a string with underscores into a camelCaseString.
- unlink(Value<T>) - Method in class is.codion.common.value.AbstractValue
- unlink(Value<T>) - Method in interface is.codion.common.value.Value
-
Unlinks this value from the given original value
- unlink(ValueObserver<T>) - Method in class is.codion.common.value.AbstractValue
- unlink(ValueObserver<T>) - Method in interface is.codion.common.value.Value
-
Unlinks this value from the given original value observer
- usedMemory() - Static method in class is.codion.common.Memory
- user(String) - Static method in interface is.codion.common.user.User
-
Creates a new User with an empty password.
- user(String, char[]) - Static method in interface is.codion.common.user.User
-
Creates a new User.
- User - Interface in is.codion.common.user
-
Encapsulates a username and password.
- username() - Method in interface is.codion.common.user.User
V
- validate(T) - Method in class is.codion.common.value.AbstractValue
- validate(T) - Method in interface is.codion.common.value.Value
-
Validate the given value using all validators
- validate(T) - Method in interface is.codion.common.value.Value.Validator
-
Validates the given value.
- value() - Static method in interface is.codion.common.value.Value
-
Creates a new
Valueinstance, wrapping a null initial value, usingValue.Notify.WHEN_CHANGED. - value() - Method in interface is.codion.common.value.ValueSet
- value(Value.Notify) - Static method in interface is.codion.common.value.Value
-
Creates a new
Valueinstance, wrapping a null initial value - value(String, Function<String, T>) - Static method in class is.codion.common.Configuration
-
Creates a configuration value
- value(String, Function<String, T>, Function<T, String>) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value representing the given property name.
- value(String, Function<String, T>, Function<T, String>, T) - Method in interface is.codion.common.property.PropertyStore
-
Creates a value representing the given property name.
- value(String, Function<String, T>, T) - Static method in class is.codion.common.Configuration
-
Creates a configuration value
- value(T) - Static method in interface is.codion.common.value.Value
-
Creates a new
Valueinstance, usingValue.Notify.WHEN_CHANGED. - value(T, Value.Notify) - Static method in interface is.codion.common.value.Value
-
Creates a new
Valueinstance - value(T, T) - Static method in interface is.codion.common.value.Value
-
Creates a new
Valueinstance, usingValue.Notify.WHEN_CHANGED. - value(T, T, Value.Notify) - Static method in interface is.codion.common.value.Value
-
Creates a new
Valueinstance - Value<T> - Interface in is.codion.common.value
-
An observable wrapper for a value.
- Value.Notify - Enum Class in is.codion.common.value
-
Specifies when a Value instance notifies its listeners.
- Value.Validator<T> - Interface in is.codion.common.value
-
A
Value.ValidatorforValues. - ValueObserver<T> - Interface in is.codion.common.value
-
A read only value observer
- valueOf(String) - Static method in enum class is.codion.common.Conjunction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class is.codion.common.Operator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class is.codion.common.value.Value.Notify
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class is.codion.common.Conjunction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class is.codion.common.Operator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class is.codion.common.value.Value.Notify
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueSet() - Static method in interface is.codion.common.value.ValueSet
-
Creates a new empty
ValueSet, usingValue.Notify.WHEN_CHANGED. - valueSet(Value.Notify) - Static method in interface is.codion.common.value.ValueSet
-
Creates a new empty
ValueSet - valueSet(Set<T>) - Static method in interface is.codion.common.value.ValueSet
-
Creates a new
ValueSet, usingValue.Notify.WHEN_CHANGED. - valueSet(Set<T>, Value.Notify) - Static method in interface is.codion.common.value.ValueSet
-
Creates a new
ValueSet - ValueSet<T> - Interface in is.codion.common.value
-
An observable wrapper for one or more values, including a possible null value.
- version() - Static method in interface is.codion.common.version.Version
- version(int) - Static method in interface is.codion.common.version.Version
-
Creates a new version [major].0.0
- version(int, int) - Static method in interface is.codion.common.version.Version
-
Creates a new version [major].[minor].0
- version(int, int, int) - Static method in interface is.codion.common.version.Version
-
Creates a new version [major].[minor].[patch]
- version(int, int, int, String) - Static method in interface is.codion.common.version.Version
-
Creates a new version [major].[minor].[patch]-[metadata]
- Version - Interface in is.codion.common.version
-
Specifies a version and serves as a factory class for
Versioninstances. - VERSION_PROPERTY_KEY - Static variable in interface is.codion.common.version.Version
-
The key for a version property in a properties file.
- versionAndMetadataString() - Static method in interface is.codion.common.version.Version
- versionString() - Static method in interface is.codion.common.version.Version
W
- WHEN_CHANGED - Enum constant in enum class is.codion.common.value.Value.Notify
-
Notify listeners when the underlying value is changed via
Value.set(Object), that is, only when the new value is not equal to the previous value. - WHEN_SET - Enum constant in enum class is.codion.common.value.Value.Notify
-
Notify listeners when the underlying value is set via
Value.set(Object), regardless of whether or not the new value is equal to the previous value. - WILDCARD_CHARACTER - Static variable in class is.codion.common.Text
-
Specifies the wildcard character used
Value type: Character
Default value: % - writeToFile(File) - Method in interface is.codion.common.property.PropertyStore
-
Writes the stored properties to a file
Y
- yearFourDigits() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
- yearTwoDigits() - Method in interface is.codion.common.format.LocaleDateTimePattern.Builder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form