Skip navigation links
A C F G I N O P R S T U 

A

addListener(ConfigListener<M, F>) - Method in interface net.morimekta.providence.config.ConfigSupplier
Add a listener to changes to this config.
addListener(ConfigListener<M, F>) - Method in class net.morimekta.providence.config.FixedConfigSupplier
 
addListener(ConfigListener<M, F>) - Method in class net.morimekta.providence.config.impl.UpdatingConfigSupplier
 

C

ConfigListener<M extends PMessage<M,F>,F extends PField> - Interface in net.morimekta.providence.config
Interface for handling reactions to update of a config message.
ConfigResolver - Interface in net.morimekta.providence.config
A config resolver resolves config file into suppliers for the actual config.
ConfigSupplier<M extends PMessage<M,F>,F extends PField> - Interface in net.morimekta.providence.config
A supplier and instance holder for config objects.
configTimestamp() - Method in interface net.morimekta.providence.config.ConfigSupplier
Get the last update time as a millisecond timestamp.
configTimestamp() - Method in class net.morimekta.providence.config.FixedConfigSupplier
 
configTimestamp() - Method in class net.morimekta.providence.config.impl.UpdatingConfigSupplier
 

F

FixedConfigSupplier<M extends PMessage<M,F>,F extends PField> - Class in net.morimekta.providence.config
A supplier and instance holder for an immutable config instance.
FixedConfigSupplier(M) - Constructor for class net.morimekta.providence.config.FixedConfigSupplier
Initialize with an initial config instance.
FixedConfigSupplier(ConfigSupplier<M, F>) - Constructor for class net.morimekta.providence.config.FixedConfigSupplier
This essentially makes a static snapshot of the config and keeps the config instance as a fixed (unmodifiable) config.
FixedConfigSupplier(M, long) - Constructor for class net.morimekta.providence.config.FixedConfigSupplier
Initialize with an initial config instance.

G

get() - Method in class net.morimekta.providence.config.FixedConfigSupplier
 
get() - Method in class net.morimekta.providence.config.impl.UpdatingConfigSupplier
 
getCause() - Method in exception net.morimekta.providence.config.UncheckedProvidenceConfigException
 
getConfig(File) - Method in class net.morimekta.providence.config.ProvidenceConfig
Get config for the given file.
getConfig(File, M) - Method in class net.morimekta.providence.config.ProvidenceConfig
Get config for the given with parent.
getName() - Method in interface net.morimekta.providence.config.ConfigSupplier
Get a simple descriptive name for this config supplier.
getName() - Method in class net.morimekta.providence.config.FixedConfigSupplier
 
getName() - Method in class net.morimekta.providence.config.impl.ProvidenceConfigSupplier
 
getName() - Method in class net.morimekta.providence.config.OverrideConfigSupplier
 
getName() - Method in class net.morimekta.providence.config.ReferenceConfigSupplier
 
getName() - Method in class net.morimekta.providence.config.ResourceConfigSupplier
 
getName() - Method in class net.morimekta.providence.config.util.TestConfigSupplier
 

I

initCause(Throwable) - Method in exception net.morimekta.providence.config.UncheckedProvidenceConfigException
 

N

net.morimekta.providence.config - package net.morimekta.providence.config
 
net.morimekta.providence.config.impl - package net.morimekta.providence.config.impl
 
net.morimekta.providence.config.util - package net.morimekta.providence.config.util
 

O

onConfigChange(M) - Method in interface net.morimekta.providence.config.ConfigListener
Called when the config is updated.
OverrideConfigSupplier<Message extends PMessage<Message,Field>,Field extends PField> - Class in net.morimekta.providence.config
A supplier of a providence message config based on a parent config (supplier) and a map of value overrides.
OverrideConfigSupplier(ConfigSupplier<Message, Field>, Properties) - Constructor for class net.morimekta.providence.config.OverrideConfigSupplier
Create a config that wraps a providence message instance.
OverrideConfigSupplier(ConfigSupplier<Message, Field>, Map<String, String>) - Constructor for class net.morimekta.providence.config.OverrideConfigSupplier
Create a config that wraps a providence message instance.
OverrideConfigSupplier(ConfigSupplier<Message, Field>, Map<String, String>, boolean) - Constructor for class net.morimekta.providence.config.OverrideConfigSupplier
Create a config that wraps a providence message instance.
OverrideConfigSupplier(Clock, ConfigSupplier<Message, Field>, Map<String, String>, boolean) - Constructor for class net.morimekta.providence.config.OverrideConfigSupplier
Create a config that wraps a providence message instance.

P

ProvidenceConfig - Class in net.morimekta.providence.config
Providence config loader.
ProvidenceConfig(TypeRegistry) - Constructor for class net.morimekta.providence.config.ProvidenceConfig
Make a non-strict config instance.
ProvidenceConfig(TypeRegistry, FileWatcher, boolean) - Constructor for class net.morimekta.providence.config.ProvidenceConfig
Make a config instance.
ProvidenceConfig(TypeRegistry, FileWatcher, boolean, Clock) - Constructor for class net.morimekta.providence.config.ProvidenceConfig
Make a config instance.
ProvidenceConfigException - Exception in net.morimekta.providence.config
Providence config exceptions are extensions of the serializer exception (as parsing config can be seen as parsing or de-serializing any serialized message).
ProvidenceConfigException(String, Object...) - Constructor for exception net.morimekta.providence.config.ProvidenceConfigException
 
ProvidenceConfigException(Throwable, String, Object...) - Constructor for exception net.morimekta.providence.config.ProvidenceConfigException
 
ProvidenceConfigException(SerializerException) - Constructor for exception net.morimekta.providence.config.ProvidenceConfigException
 
ProvidenceConfigException(TokenizerException) - Constructor for exception net.morimekta.providence.config.ProvidenceConfigException
 
ProvidenceConfigParser - Class in net.morimekta.providence.config.impl
This parser parses config files.
ProvidenceConfigParser(TypeRegistry, boolean) - Constructor for class net.morimekta.providence.config.impl.ProvidenceConfigParser
 
ProvidenceConfigSupplier<Message extends PMessage<Message,Field>,Field extends PField> - Class in net.morimekta.providence.config.impl
A supplier to get a config (aka message) from a providence config.
ProvidenceConfigSupplier(File, ConfigSupplier<Message, Field>, FileWatcher, ProvidenceConfigParser) - Constructor for class net.morimekta.providence.config.impl.ProvidenceConfigSupplier
 
ProvidenceConfigSupplier(File, ConfigSupplier<Message, Field>, FileWatcher, ProvidenceConfigParser, Clock) - Constructor for class net.morimekta.providence.config.impl.ProvidenceConfigSupplier
 
ProvidenceConfigUtil - Class in net.morimekta.providence.config.impl
Utilities for helping with providence config handling.
ProvidenceConfigUtil() - Constructor for class net.morimekta.providence.config.impl.ProvidenceConfigUtil
 

R

ReferenceConfigSupplier<RefMessage extends PMessage<RefMessage,RefField>,RefField extends PField,ParentMessage extends PMessage<ParentMessage,ParentField>,ParentField extends PField> - Class in net.morimekta.providence.config
A supplier to get a config (aka message) from a resource location.
ReferenceConfigSupplier(String, ConfigSupplier<ParentMessage, ParentField>) - Constructor for class net.morimekta.providence.config.ReferenceConfigSupplier
Create a config that wraps a providence message instance, and fetches a message from within that parent config.
ReferenceConfigSupplier(String, ConfigSupplier<ParentMessage, ParentField>, Clock) - Constructor for class net.morimekta.providence.config.ReferenceConfigSupplier
Create a config that wraps a providence message instance, and fetches a message from within that parent config.
removeListener(ConfigListener<M, F>) - Method in interface net.morimekta.providence.config.ConfigSupplier
Remove a config change listener.
removeListener(ConfigListener<M, F>) - Method in class net.morimekta.providence.config.FixedConfigSupplier
 
removeListener(ConfigListener<M, F>) - Method in class net.morimekta.providence.config.impl.UpdatingConfigSupplier
 
resolveConfig(File, ConfigSupplier<Message, Field>) - Method in interface net.morimekta.providence.config.ConfigResolver
Resolve a config file like on config file includes.
resolveConfig(File) - Method in interface net.morimekta.providence.config.ConfigResolver
Resolve a config file without parent config like on config file includes.
resolveConfig(File, ConfigSupplier<M, F>) - Method in class net.morimekta.providence.config.ProvidenceConfig
 
resolveFile(File, String) - Static method in class net.morimekta.providence.config.impl.ProvidenceConfigParser
Resolve a file path within the source roots.
ResourceConfigSupplier<Message extends PMessage<Message,Field>,Field extends PField> - Class in net.morimekta.providence.config
A supplier to get a config (aka message) from a resource location.
ResourceConfigSupplier(String, PMessageDescriptor<Message, Field>) - Constructor for class net.morimekta.providence.config.ResourceConfigSupplier
Create a config that wraps a providence message instance.
ResourceConfigSupplier(String, PMessageDescriptor<Message, Field>, Clock) - Constructor for class net.morimekta.providence.config.ResourceConfigSupplier
Create a config that wraps a providence message instance.

S

set(M) - Method in class net.morimekta.providence.config.impl.UpdatingConfigSupplier
Set a new config value to the supplier.
snapshot() - Method in interface net.morimekta.providence.config.ConfigSupplier
 

T

TestConfigSupplier<M extends PMessage<M,F>,F extends PField> - Class in net.morimekta.providence.config.util
Config supplier meant for testing only.
TestConfigSupplier() - Constructor for class net.morimekta.providence.config.util.TestConfigSupplier
Start with no initial config.
TestConfigSupplier(Clock) - Constructor for class net.morimekta.providence.config.util.TestConfigSupplier
Start with no initial config.
TestConfigSupplier(Clock, M) - Constructor for class net.morimekta.providence.config.util.TestConfigSupplier
Start with an initial config value.
TestConfigSupplier(M) - Constructor for class net.morimekta.providence.config.util.TestConfigSupplier
Start with an initial config value.
testUpdate(M) - Method in class net.morimekta.providence.config.util.TestConfigSupplier
Update the current config and trigger updates.
toString() - Method in class net.morimekta.providence.config.FixedConfigSupplier
 
toString() - Method in class net.morimekta.providence.config.impl.ProvidenceConfigSupplier
 
toString() - Method in class net.morimekta.providence.config.OverrideConfigSupplier
 
toString() - Method in class net.morimekta.providence.config.ReferenceConfigSupplier
 
toString() - Method in class net.morimekta.providence.config.util.TestConfigSupplier
 

U

UncheckedProvidenceConfigException - Exception in net.morimekta.providence.config
Unchecked config exception wrapping the providence config exception.
UncheckedProvidenceConfigException(ProvidenceConfigException) - Constructor for exception net.morimekta.providence.config.UncheckedProvidenceConfigException
 
UNDEFINED - Static variable in class net.morimekta.providence.config.impl.ProvidenceConfigParser
 
UpdatingConfigSupplier<M extends PMessage<M,F>,F extends PField> - Class in net.morimekta.providence.config.impl
A supplier and instance holder for config objects.
UpdatingConfigSupplier() - Constructor for class net.morimekta.providence.config.impl.UpdatingConfigSupplier
Initialize supplier with empty config.
UpdatingConfigSupplier(Clock) - Constructor for class net.morimekta.providence.config.impl.UpdatingConfigSupplier
Initialize supplier with empty config.
A C F G I N O P R S T U 
Skip navigation links

Copyright © 2015–2017 morimekta.net. All rights reserved.