A B C D E F G H I L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.BlackSet
- add(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Names
- add(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.WhiteSet
- addURLConnection(String, String) - Method in class org.opennms.core.utils.url.GenericURLFactory
-
addURLConnection
- addURLConnection(String, String, int) - Method in class org.opennms.core.utils.url.GenericURLFactory
-
addURLConnection
- alias(String, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Names
- alias(String, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.WhiteSet
B
- beforeExecute(Thread, Runnable) - Method in class org.opennms.core.concurrent.PausibleScheduledThreadPoolExecutor
- bestLocale(Locale[], Locale[]) - Static method in class org.opennms.core.utils.LocaleUtils
- black(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlEngine
- black(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- BlackSet() - Constructor for class org.opennms.core.utils.jexl.OnmsJexlSandbox.BlackSet
- BundleLists - Class in org.opennms.core.utils
-
Contains utility functions for handling with bundle lists, that is, a comma-delimited list of strings that are contained as one line in a Java properties file.
- BundleLists() - Constructor for class org.opennms.core.utils.BundleLists
C
- completeNowOrLater(CompletableFuture<T>) - Method in interface org.opennms.core.concurrent.FutureUtils.Completer
-
Complete the given future either immediately or trigger its asynchronous completion.
- completionStage(Callable<T>, Duration, Consumer<CompletableFuture<T>>, ExecutorService) - Static method in class org.opennms.core.concurrent.FutureUtils
-
Returns a completion stage that is guaranteed to complete.
- completionStage(FutureUtils.Completer<T>, Duration, Consumer<CompletableFuture<T>>, ExecutorService) - Static method in class org.opennms.core.concurrent.FutureUtils
-
Returns a completion stage that is guaranteed to complete.
- completionStageWithDefaultOnTimeout(Callable<T>, Duration, Supplier<T>, ExecutorService) - Static method in class org.opennms.core.concurrent.FutureUtils
-
Returns a completion stage that is guaranteed to complete.
- completionStageWithTimeoutException(Callable<T>, Duration, Supplier<EX>, ExecutorService) - Static method in class org.opennms.core.concurrent.FutureUtils
-
Returns a completion stage that is guaranteed to complete.
- contains(int) - Method in class org.opennms.core.utils.http.HttpResponseRange
- convertToMillis(String) - Static method in class org.opennms.core.utils.TimeConverter
-
Converts the passed time string to a time value that is measured in milliseconds.
- copy() - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.BlackSet
- copy() - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- copy() - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Names
- copy() - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.WhiteSet
- createBundleList(Object[]) - Static method in class org.opennms.core.utils.BundleLists
-
Parses a Object array and puts them into a array of substrings, using a comma as a delimiter
- createBundleList(Object[], String) - Static method in class org.opennms.core.utils.BundleLists
-
Parses a Object array and puts them into a array of substrings, using a comma as a delimiter
- createURLStreamHandler(String) - Method in class org.opennms.core.utils.url.GenericURLFactory
-
createURLStreamHandler
D
- destroy() - Method in interface org.opennms.core.fiber.InitializableFiber
-
This method is used to stop a currently running
Fiber. - DurationPropertyEditor - Class in org.opennms.core.utils.properties
- DurationPropertyEditor() - Constructor for class org.opennms.core.utils.properties.DurationPropertyEditor
E
- exec(String[]) - Method in class org.opennms.core.utils.ProcessExec
-
exec
- execute() - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Permissions
- execute(Class<?>, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- execute(String...) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Permissions
- execute(String, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- ExecutorFactory - Interface in org.opennms.core.concurrent
-
This factory is used to create
ExecutorServicethread pools for use by daemon processes. - ExecutorFactoryJavaImpl - Class in org.opennms.core.concurrent
- ExecutorFactoryJavaImpl() - Constructor for class org.opennms.core.concurrent.ExecutorFactoryJavaImpl
F
- Fiber - Interface in org.opennms.core.fiber
-
The
Fiberinterface is similar to the core Java languageThreadclass. - FutureUtils - Class in org.opennms.core.concurrent
-
Provides utility functions for creating and combining completion stages.
- FutureUtils() - Constructor for class org.opennms.core.concurrent.FutureUtils
- FutureUtils.Completer<T> - Interface in org.opennms.core.concurrent
-
Allows to complete futures.
G
- GenericURLConnection - Class in org.opennms.core.utils.url
-
Convenience classes to provide additional functions on URL connections.
- GenericURLConnection(URL) - Constructor for class org.opennms.core.utils.url.GenericURLConnection
-
Default constructor
- GenericURLFactory - Class in org.opennms.core.utils.url
-
Convenience factory class to generate URL connections with customized protocol handler.
- GenericURLStreamHandler - Class in org.opennms.core.utils.url
-
GenericURLStreamHandler class.
- GenericURLStreamHandler(Class<? extends URLConnection>) - Constructor for class org.opennms.core.utils.url.GenericURLStreamHandler
-
GenericURLStreamHandler
- GenericURLStreamHandler(Class<? extends URLConnection>, int) - Constructor for class org.opennms.core.utils.url.GenericURLStreamHandler
-
GenericURLStreamHandler
- get(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.BlackSet
- get(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- get(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Names
- get(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.WhiteSet
- getAsText() - Method in class org.opennms.core.utils.properties.DurationPropertyEditor
- getConstructorMethod(Object, Object[], JexlInfo) - Method in class org.opennms.core.utils.jexl.OnmsJexlUberspect
- getDefaultPort() - Method in class org.opennms.core.utils.url.GenericURLStreamHandler
- getHumanReadableIfSpeed(long) - Static method in class org.opennms.core.utils.SIUtils
-
Method used to convert an integer bits-per-second value to a more readable vale using commonly recognized abbreviation for network interface speeds.
- getInstance() - Static method in class org.opennms.core.utils.url.GenericURLFactory
-
getInstance
- getMethod(Object, String, Object[], JexlInfo) - Method in class org.opennms.core.utils.jexl.OnmsJexlUberspect
- getName() - Method in interface org.opennms.core.fiber.Fiber
-
This method is used to return the name of the
Fiber. - getPassword() - Method in class org.opennms.core.utils.url.GenericURLConnection
-
Get password from a given url
- getPattern() - Method in class org.opennms.core.utils.StringReplaceOperation
-
getPattern
- getProperties() - Static method in class org.opennms.core.resource.Vault
-
Return the entire set of application configuration properties.
- getProperty(String) - Static method in class org.opennms.core.resource.Vault
-
Return property from the configuration parameter list.
- getPropertyGet(Object, Object, JexlInfo) - Method in class org.opennms.core.utils.jexl.OnmsJexlUberspect
- getPropertySet(Object, Object, Object, JexlInfo) - Method in class org.opennms.core.utils.jexl.OnmsJexlUberspect
- getQueryArgs() - Method in class org.opennms.core.utils.url.GenericURLConnection
-
Get all URL query arguments
- getQueryStringParameters(String) - Static method in class org.opennms.core.utils.url.GenericURLConnection
- getReplacement() - Method in class org.opennms.core.utils.StringReplaceOperation
-
getReplacement
- getStatus() - Method in interface org.opennms.core.fiber.Fiber
-
This method is used to get the current status of the
Fiber. - getSymbolValue(String) - Method in class org.opennms.core.utils.MatchTable
- getURLConnections() - Method in class org.opennms.core.utils.url.GenericURLFactory
-
getURLConnections
- getUsername() - Method in class org.opennms.core.utils.url.GenericURLConnection
-
Get user name from a given URL
H
- HttpResponseRange - Class in org.opennms.core.utils.http
- HttpResponseRange(String) - Constructor for class org.opennms.core.utils.http.HttpResponseRange
I
- init() - Method in interface org.opennms.core.fiber.InitializableFiber
-
This method is used to start the initilization process of the
Fiber, which should eventually transition to aRUNNINGstatus. - InitializableFiber - Interface in org.opennms.core.fiber
-
This class is used to extend the
Fiberinterface so that is has a concept of a life cycle. - initialize() - Static method in class org.opennms.core.utils.url.GenericURLFactory
-
initialize
- isPaused() - Method in class org.opennms.core.concurrent.PausibleScheduledThreadPoolExecutor
-
isPaused
L
- LocaleUtils - Class in org.opennms.core.utils
- LocaleUtils() - Constructor for class org.opennms.core.utils.LocaleUtils
- LogPreservingThreadFactory - Class in org.opennms.core.concurrent
- LogPreservingThreadFactory(String, int) - Constructor for class org.opennms.core.concurrent.LogPreservingThreadFactory
M
- m_pattern - Variable in class org.opennms.core.utils.StringReplaceOperation
- m_replacement - Variable in class org.opennms.core.utils.StringReplaceOperation
- MatchTable - Class in org.opennms.core.utils
- MatchTable(Matcher) - Constructor for class org.opennms.core.utils.MatchTable
-
Constructor for MatchTable.
N
- Names() - Constructor for class org.opennms.core.utils.jexl.OnmsJexlSandbox.Names
- newExecutor(int, int, String, String) - Method in interface org.opennms.core.concurrent.ExecutorFactory
-
Construct a new
ExecutorServicewith a specified queue size for the backlog of tasks. - newExecutor(int, int, String, String) - Method in class org.opennms.core.concurrent.ExecutorFactoryJavaImpl
- newExecutor(int, String, String) - Method in interface org.opennms.core.concurrent.ExecutorFactory
-
Construct a new
ExecutorServicewith an unbounded queue size ({@link Integer#MAX_VALUE). For CPU-intensive tasks, it is a good idea to use the value of {@link Runtime#availableProcessors()} (or a reasonable multiple of it based on the tasks) for thethreadsparameter to ensure that the CPU is fully utilized. - newExecutor(int, String, String) - Method in class org.opennms.core.concurrent.ExecutorFactoryJavaImpl
- newExecutor(String, String) - Method in interface org.opennms.core.concurrent.ExecutorFactory
-
Construct a new
ExecutorServicewith an unbounded queue size and a thread pool size equal to the value ofRuntime.availableProcessors()so that one thread per core is started. - newExecutor(String, String) - Method in class org.opennms.core.concurrent.ExecutorFactoryJavaImpl
- newThread(Runnable) - Method in class org.opennms.core.concurrent.LogPreservingThreadFactory
O
- OnmsJexlEngine - Class in org.opennms.core.utils.jexl
- OnmsJexlEngine() - Constructor for class org.opennms.core.utils.jexl.OnmsJexlEngine
- OnmsJexlEngine(OnmsJexlSandbox) - Constructor for class org.opennms.core.utils.jexl.OnmsJexlEngine
- OnmsJexlSandbox - Class in org.opennms.core.utils.jexl
-
This class is taken and adapted from the jexl3 codebase.
- OnmsJexlSandbox() - Constructor for class org.opennms.core.utils.jexl.OnmsJexlSandbox
- OnmsJexlSandbox(boolean) - Constructor for class org.opennms.core.utils.jexl.OnmsJexlSandbox
- OnmsJexlSandbox(boolean, Map<String, OnmsJexlSandbox.Permissions>) - Constructor for class org.opennms.core.utils.jexl.OnmsJexlSandbox
- OnmsJexlSandbox(Map<String, OnmsJexlSandbox.Permissions>) - Constructor for class org.opennms.core.utils.jexl.OnmsJexlSandbox
- OnmsJexlSandbox.BlackSet - Class in org.opennms.core.utils.jexl
- OnmsJexlSandbox.Names - Class in org.opennms.core.utils.jexl
- OnmsJexlSandbox.Permissions - Class in org.opennms.core.utils.jexl
- OnmsJexlSandbox.WhiteSet - Class in org.opennms.core.utils.jexl
- OnmsJexlUberspect - Class in org.opennms.core.utils.jexl
-
A modified implementation of the jexl2 Uberspect class to use the OnmsJexlSandbox implementation.
- OnmsJexlUberspect(Log, OnmsJexlSandbox) - Constructor for class org.opennms.core.utils.jexl.OnmsJexlUberspect
- openConnection(URL) - Method in class org.opennms.core.utils.url.GenericURLStreamHandler
- org.opennms.core.concurrent - package org.opennms.core.concurrent
- org.opennms.core.fiber - package org.opennms.core.fiber
- org.opennms.core.resource - package org.opennms.core.resource
- org.opennms.core.utils - package org.opennms.core.utils
- org.opennms.core.utils.http - package org.opennms.core.utils.http
- org.opennms.core.utils.jexl - package org.opennms.core.utils.jexl
- org.opennms.core.utils.properties - package org.opennms.core.utils.properties
- org.opennms.core.utils.url - package org.opennms.core.utils.url
P
- parseBundleList(String) - Static method in class org.opennms.core.utils.BundleLists
-
Parses a string into an array of substrings, using a comma as a delimiter and trimming whitespace.
- parseBundleList(String, String) - Static method in class org.opennms.core.utils.BundleLists
-
Parses a string into an array of substrings, using the specified delimeter and trimming whitespace.
- parseLocale(String) - Static method in class org.opennms.core.utils.LocaleUtils
- PausableFiber - Interface in org.opennms.core.fiber
-
This interface defines an extension to the core
Fiberinterface and adds the methods for pausing and resuming an executable context. - pause() - Method in class org.opennms.core.concurrent.PausibleScheduledThreadPoolExecutor
-
pause
- pause() - Method in interface org.opennms.core.fiber.PausableFiber
-
This method is used to suspend a currently running
Fiber. - PAUSE_PENDING - Static variable in interface org.opennms.core.fiber.PausableFiber
-
This state is used to define when a
Fiberhas begun the process of pausing its operations. - PAUSED - Static variable in interface org.opennms.core.fiber.PausableFiber
-
This state is used to denote a paused, or otherwise suspended
Fiber. - PausibleScheduledThreadPoolExecutor - Class in org.opennms.core.concurrent
-
PausibleScheduledThreadPoolExecutor
- PausibleScheduledThreadPoolExecutor(int) - Constructor for class org.opennms.core.concurrent.PausibleScheduledThreadPoolExecutor
- PausibleScheduledThreadPoolExecutor(int, ThreadFactory) - Constructor for class org.opennms.core.concurrent.PausibleScheduledThreadPoolExecutor
- permissions(String, boolean, boolean, boolean) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- PrintInputStream(InputStream, PrintStream) - Constructor for class org.opennms.core.utils.ProcessExec.PrintInputStream
- ProcessExec - Class in org.opennms.core.utils
-
ProcessExec class.
- ProcessExec(PrintStream, PrintStream) - Constructor for class org.opennms.core.utils.ProcessExec
-
Constructor for ProcessExec.
- ProcessExec.PrintInputStream - Class in org.opennms.core.utils
R
- read() - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Permissions
- read(Class<?>, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- read(String...) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Permissions
- read(String, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- removeURLConnection(String) - Method in class org.opennms.core.utils.url.GenericURLFactory
-
removeURLConnection
- replace(String) - Method in class org.opennms.core.utils.ReplaceAllOperation
-
replace
- replace(String) - Method in class org.opennms.core.utils.ReplaceFirstOperation
-
replace
- replace(String) - Method in class org.opennms.core.utils.StringReplaceOperation
-
replace
- ReplaceAllOperation - Class in org.opennms.core.utils
-
ReplaceAllOperation class.
- ReplaceAllOperation(String) - Constructor for class org.opennms.core.utils.ReplaceAllOperation
-
Constructor for ReplaceAllOperation.
- ReplaceFirstOperation - Class in org.opennms.core.utils
-
ReplaceFirstOperation class.
- ReplaceFirstOperation(String) - Constructor for class org.opennms.core.utils.ReplaceFirstOperation
-
Constructor for ReplaceFirstOperation.
- resume() - Method in class org.opennms.core.concurrent.PausibleScheduledThreadPoolExecutor
-
resume
- resume() - Method in interface org.opennms.core.fiber.PausableFiber
-
This method is used to resume a suspeneded
Fiber. - RESUME_PENDING - Static variable in interface org.opennms.core.fiber.PausableFiber
-
This state is used to denote a
Fiberrecovering from a paused state to a running status. - run() - Method in class org.opennms.core.utils.ProcessExec.PrintInputStream
- RUNNING - Static variable in interface org.opennms.core.fiber.Fiber
-
This state is used to define the normal runtime condition of a
Fiber.
S
- sandbox - Variable in class org.opennms.core.utils.jexl.OnmsJexlUberspect
- sequence(List<CompletionStage<T>>) - Static method in class org.opennms.core.concurrent.FutureUtils
-
Collects the results of the futures into a list.
- setAsText(String) - Method in class org.opennms.core.utils.properties.DurationPropertyEditor
- setLoader(ClassLoader) - Method in class org.opennms.core.utils.jexl.OnmsJexlUberspect
- setProperties(Properties) - Static method in class org.opennms.core.resource.Vault
-
Set the application configuration properties.
- SIUtils - Class in org.opennms.core.utils
-
Utilities for manipulating values in SI units.
- SIUtils() - Constructor for class org.opennms.core.utils.SIUtils
- start() - Method in interface org.opennms.core.fiber.Fiber
-
This method is used to start the initialization process of the
Fiber, which should eventually transition to aRUNNINGstatus. - START_PENDING - Static variable in interface org.opennms.core.fiber.Fiber
-
This is the initial
Fiberstate. - STARTING - Static variable in interface org.opennms.core.fiber.Fiber
-
This state is used to define when a
Fiberhas begun the Initialization process. - STATUS_NAMES - Static variable in interface org.opennms.core.fiber.Fiber
-
The string names that correspond to the states of the fiber.
- stop() - Method in interface org.opennms.core.fiber.Fiber
-
This method is used to stop a currently running
Fiber. - STOP_PENDING - Static variable in interface org.opennms.core.fiber.Fiber
-
This state is used to denote when the
Fiberis terminating processing. - STOPPED - Static variable in interface org.opennms.core.fiber.Fiber
-
This state represents the final resting state of a
Fiber. - streamToStream(InputStream, OutputStream) - Static method in class org.opennms.core.utils.StreamUtils
-
Convenience method for reading data from an
InputStreamand then immediately writing that data to anOutputStreamwith a default buffer size of one kilobyte (1,024 bytes). - streamToStream(InputStream, OutputStream, int) - Static method in class org.opennms.core.utils.StreamUtils
-
Convenience method for reading data from an
InputStreamand then immediately writing that data to anOutputStream. - streamToStream(Reader, Writer) - Static method in class org.opennms.core.utils.StreamUtils
-
Convenience method for reading data from a
Readerand then immediately writing that data to aWriterwith a default buffer size of one kilobyte (1,024 chars). - streamToStream(Reader, Writer, int) - Static method in class org.opennms.core.utils.StreamUtils
-
Convenience method for reading data from a
Readerand then immediately writing that data to aWriter. - StreamUtils - Class in org.opennms.core.utils
-
StreamUtils class.
- StreamUtils() - Constructor for class org.opennms.core.utils.StreamUtils
- StringReplaceOperation - Class in org.opennms.core.utils
-
Abstract StringReplaceOperation class.
- StringReplaceOperation(String) - Constructor for class org.opennms.core.utils.StringReplaceOperation
-
Constructor for StringReplaceOperation.
- supplementSystemPropertiesFromKey(String) - Static method in class org.opennms.core.resource.Vault
-
Adds new keys to the system properties using the passed key name a the properties location instance.
T
- TimeConverter - Class in org.opennms.core.utils
-
This class contains static functions used to convert time related string values into numeric values to be used in computations.
- TimeConverter() - Constructor for class org.opennms.core.utils.TimeConverter
- toString() - Method in class org.opennms.core.utils.http.HttpResponseRange
- toString() - Method in class org.opennms.core.utils.StringReplaceOperation
-
toString
- traverse(List<U>, Function<U, CompletionStage<V>>) - Static method in class org.opennms.core.concurrent.FutureUtils
-
Converts a list of values into futures and collects their results.
V
- Vault - Class in org.opennms.core.resource
-
The Vault stores application configuration properties.
- Vault() - Constructor for class org.opennms.core.resource.Vault
W
- white(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlEngine
- white(String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- WhiteSet() - Constructor for class org.opennms.core.utils.jexl.OnmsJexlSandbox.WhiteSet
- write() - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Permissions
- write(Class<?>, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
- write(String...) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox.Permissions
- write(String, String) - Method in class org.opennms.core.utils.jexl.OnmsJexlSandbox
All Classes All Packages