- addCause(Throwable) - Method in exception io.fabric8.utils.MultiException
-
- addCollection(Collection<T>) - Method in class io.fabric8.utils.Collectors
-
Convenience method for adding an existing collection to the collector directly
- addCollector(Collector<T>) - Method in class io.fabric8.utils.Collectors
-
- AllCertificatesTrustManager - Class in io.fabric8.utils.ssl
-
A trust manager that will accept any certificate.
- AllCertificatesTrustManager() - Constructor for class io.fabric8.utils.ssl.AllCertificatesTrustManager
-
- appendVersionRange(String, String) - Static method in class io.fabric8.utils.PatchUtils
-
Appends a version range to a url
- apply(T) - Method in interface io.fabric8.utils.Function
-
Returns the result of applying this function to the parameter value
- Arrays - Class in io.fabric8.utils
-
Helper class for working with arrays
- Arrays() - Constructor for class io.fabric8.utils.Arrays
-
- assertAssertionError(Block) - Static method in class io.fabric8.utils.Asserts
-
Asserts that the code block throws an {@link AssertionError) and returns it
- assertDirectoryExists(File) - Static method in class io.fabric8.utils.Files
-
Throws an exception if the given file does not exist
- assertException(Block) - Static method in class io.fabric8.utils.Asserts
-
Asserts that the code block throws an {@link AssertionError) and returns it
- assertExists(File) - Static method in class io.fabric8.utils.Files
-
Throws an exception if the given file or directory does not exist
- assertFileExists(File) - Static method in class io.fabric8.utils.Files
-
Throws an exception if the given file does not exist
- assertNotNull(Object, String) - Static method in class io.fabric8.utils.Objects
-
Asserts whether the value is not null
- Asserts - Class in io.fabric8.utils
-
- Asserts() - Constructor for class io.fabric8.utils.Asserts
-
- assertWaitFor(long, Block) - Static method in class io.fabric8.utils.Asserts
-
Asserts that the block passes at some point within the given time period.
- assertWaitFor(Block) - Static method in class io.fabric8.utils.Asserts
-
Asserts that the block passes within a default time of 30 seconds.
- asText() - Method in class io.fabric8.utils.TablePrinter
-
Prints the table as a text string
- asTextLines() - Method in class io.fabric8.utils.TablePrinter
-
Returns a list of text lines for easier printing on other output formats
- attemptRetain() - Method in class io.fabric8.utils.ShutdownTracker
-
Attempts to retain the the resources.
- available(int) - Static method in class io.fabric8.utils.AvailablePortFinder
-
Checks to see if a specific port is available.
- AvailablePortFinder - Class in io.fabric8.utils
-
- awaitTermination(long, TimeUnit) - Method in class io.fabric8.utils.SerialExecutorService
-
- checkClientTrusted(X509Certificate[], String) - Method in class io.fabric8.utils.ssl.AllCertificatesTrustManager
-
Null implementation.
- checkServerTrusted(X509Certificate[], String) - Method in class io.fabric8.utils.ssl.AllCertificatesTrustManager
-
Null implementation.
- checksum(InputStream) - Static method in class io.fabric8.utils.ChecksumUtils
-
Compute a checksum for the file or directory that consists of the name, length and the last modified date
for a file and its children in case of a directory
- checksumFile(File) - Static method in class io.fabric8.utils.ChecksumUtils
-
- ChecksumUtils - Class in io.fabric8.utils
-
- chopLength(int) - Static method in class io.fabric8.utils.Functions
-
- ClassLoaders - Class in io.fabric8.utils
-
- ClassLoaders() - Constructor for class io.fabric8.utils.ClassLoaders
-
- close(ZipFile...) - Static method in class io.fabric8.utils.IOHelpers
-
- close(Closeable...) - Static method in class io.fabric8.utils.IOHelpers
-
- close() - Method in class io.fabric8.utils.LoggingOutputStream
-
- Closeables - Class in io.fabric8.utils
-
- closeQuietly(Closeable) - Static method in class io.fabric8.utils.Closeables
-
- closeQuietly(InputStream) - Static method in class io.fabric8.utils.Closeables
-
- closeQuietly(Reader) - Static method in class io.fabric8.utils.Closeables
-
- Collector<T> - Interface in io.fabric8.utils
-
Represents an object capable of collecting stuff (dependencies, bundles, features, ...)
- Collectors<T> - Class in io.fabric8.utils
-
A container for multiple
Collector
instances that just aggregates the collected results from all collectors
it contains
- Collectors() - Constructor for class io.fabric8.utils.Collectors
-
- Collectors(Collector<T>...) - Constructor for class io.fabric8.utils.Collectors
-
- column(String) - Method in class io.fabric8.utils.TablePrinter
-
Looks up the column using the header name and returns the column object so it
can be configured
- column(int) - Method in class io.fabric8.utils.TablePrinter
-
Looks up the column using its index; lazily creating one if required
- columns(String...) - Method in class io.fabric8.utils.TablePrinter
-
Defines the columns of the table
- compare(Comparable, Comparable) - Static method in class io.fabric8.utils.Objects
-
- compare(List<T>, List<T>) - Static method in class io.fabric8.utils.Objects
-
- CompositeFilter<T> - Class in io.fabric8.utils
-
Represents a filter which ORs together a collection of filters,
returning true if any of the filters are true
- CompositeFilter(Collection<Filter<T>>) - Constructor for class io.fabric8.utils.CompositeFilter
-
- compositeFilter(List<Filter<T>>) - Static method in class io.fabric8.utils.Filters
-
- Constants - Interface in io.fabric8.utils
-
- containsAnyString(String...) - Static method in class io.fabric8.utils.Filters
-
Returns a filter which returns true if the String contains any of the given text values
- containsString(String) - Static method in class io.fabric8.utils.Filters
-
- convertToCamelCase(String, String) - Static method in class io.fabric8.utils.Strings
-
Converts the given text with the given separator into camelCase
- copy(File, File) - Static method in class io.fabric8.utils.Files
-
Copy the source
File
to the target
File
.
- copy(InputStream, OutputStream) - Static method in class io.fabric8.utils.Files
-
- copy(InputStream, OutputStream) - Static method in class io.fabric8.utils.IOHelpers
-
- copy(Reader, Writer) - Static method in class io.fabric8.utils.IOHelpers
-
- count(String) - Method in class io.fabric8.utils.CountingMap
-
Returns the count of the given key
- CountingMap - Class in io.fabric8.utils
-
Maps String keys to their counter value
- CountingMap() - Constructor for class io.fabric8.utils.CountingMap
-
- createBuffer() - Method in class io.fabric8.utils.LoggingOutputStream
-
- createNamespaceFinder() - Static method in class io.fabric8.utils.XmlHelper
-
- createParser(SAXParserFactory) - Method in class io.fabric8.utils.XmlNamespaceFinder
-
- createStringFilter(String) - Static method in class io.fabric8.utils.Filters
-
Returns a String pattern matching filter using ! for not and * for any characters
- createStringFilters(Iterable<String>) - Static method in class io.fabric8.utils.Filters
-
Returns a filter if any of the String patterns match (using ! for not and * for any characters)
- createTempFile(String) - Static method in class io.fabric8.utils.Files
-
Creates a temporary file.
- createZipFile(Logger, File, File) - Static method in class io.fabric8.utils.Zips
-
Creates a zip fie from the given source directory and output zip file name
- createZipFile(Logger, File, File, FileFilter) - Static method in class io.fabric8.utils.Zips
-
- element(Object) - Method in class io.fabric8.utils.XPathFacade
-
Evaluates the XPath expression on the given item and return the first Element or null
- elements(Object) - Method in class io.fabric8.utils.XPathFacade
-
Evaluates the XPath expression on the given item and return a list of nodes
- elementTextContent(Object) - Method in class io.fabric8.utils.XPathFacade
-
Returns the text content of the selected item or null if no element is found
- emptyIfNull(String) - Static method in class io.fabric8.utils.Strings
-
- encode(String) - Static method in class io.fabric8.utils.Base64Encoder
-
Encodes a String into a base 64 String.
- encode(byte[]) - Static method in class io.fabric8.utils.Base64Encoder
-
Encodes a byte array into a base 64 byte array.
- encode(String) - Static method in class io.fabric8.utils.PasswordEncoder
-
Encodes a String into a base 64 String.
- ensureWidth(int) - Method in class io.fabric8.utils.TablePrinter.Column
-
Ensures the column is wide enough for the given value
- equal(Object, Object) - Static method in class io.fabric8.utils.Objects
-
- equals(Object) - Method in class io.fabric8.utils.FileChangeInfo
-
- equals(Object) - Method in class io.fabric8.utils.Pair
-
- ExecParseUtils - Class in io.fabric8.utils
-
Utility class for parsing, used by the Camel Exec component.
Note: the class should be dropped, when the the commons-exec library
implements similar functionality.
- execute(Runnable) - Method in class io.fabric8.utils.SerialExecutorService
-
Queues the runnable for execution.
- executeAndDrain(Runnable) - Method in class io.fabric8.utils.SerialExecutorService
-
Executes the runnable.
- externalQueue - Variable in class io.fabric8.utils.SerialExecutorService
-
- extractPort(String) - Static method in class io.fabric8.utils.Ports
-
Extracts the port from an addrees.
- extractUrl(String) - Static method in class io.fabric8.utils.PatchUtils
-
Extract the URL from an override string
- extractVersionRange(String) - Static method in class io.fabric8.utils.PatchUtils
-
Extract the version range from an override string - returns null
if no version range is available
- getAcceptedIssuers() - Method in class io.fabric8.utils.ssl.AllCertificatesTrustManager
-
Null implementation.
- getAddresses() - Static method in class io.fabric8.utils.HostUtils
-
- getBuilder() - Method in class io.fabric8.utils.XPathFacade
-
- getCauses() - Method in exception io.fabric8.utils.MultiException
-
- getChecksum() - Method in class io.fabric8.utils.FileChangeInfo
-
- getChildElements(Element) - Static method in class io.fabric8.utils.XmlUtils
-
- getCollection() - Method in interface io.fabric8.utils.Collector
-
Access the collection of items gathered by this collector
- getCollection() - Method in class io.fabric8.utils.Collectors
-
- getDockerContainerIds() - Static method in class io.fabric8.utils.Processes
-
Returns a list of active docker containers
- getElement(Document, String) - Static method in class io.fabric8.utils.XmlUtils
-
- getElement(Element, String) - Static method in class io.fabric8.utils.XmlUtils
-
- getElements(Document, String) - Static method in class io.fabric8.utils.XmlUtils
-
- getElements(Element, String) - Static method in class io.fabric8.utils.XmlUtils
-
- getEnvVar(String, String) - Static method in class io.fabric8.utils.Systems
-
Returns the value of the given environment variable if its not blank or the given default value
- getEnvVarOrSystemProperty(String, String, String) - Static method in class io.fabric8.utils.Systems
-
Returns the value of the given environment variable or system property and if both are blank return the default value
- getEnvVarOrSystemProperty(String, String) - Static method in class io.fabric8.utils.Systems
-
- getEnvVarOrSystemProperty(String) - Static method in class io.fabric8.utils.Systems
-
- getEnvVarOrSystemProperty(String, Number) - Static method in class io.fabric8.utils.Systems
-
- getEnvVarOrSystemProperty(String, Boolean) - Static method in class io.fabric8.utils.Systems
-
- getExpression() - Method in class io.fabric8.utils.XPathFacade
-
- getFactory() - Static method in class io.fabric8.utils.XmlHelper
-
- getFactory() - Method in class io.fabric8.utils.XmlNamespaceFinder
-
- getFileExtension(String) - Static method in class io.fabric8.utils.Files
-
Returns the file extension of the file name of the path or null
- getFileExtension(File) - Static method in class io.fabric8.utils.Files
-
- getFileName(String) - Static method in class io.fabric8.utils.Files
-
Returns the file name part of the path
- getFirst() - Method in class io.fabric8.utils.Pair
-
- getHeader() - Method in class io.fabric8.utils.TablePrinter.Column
-
- getHeaderFlags() - Method in class io.fabric8.utils.TablePrinter.Column
-
- getJavaProcessIds(String...) - Static method in class io.fabric8.utils.Processes
-
Returns the list of current active PIDs for any java based process
that has a main class which contains any of the given bits of text
- getLabel() - Method in class io.fabric8.utils.SerialExecutorService
-
- getLength() - Method in class io.fabric8.utils.FileChangeInfo
-
- getLocalHostName() - Static method in class io.fabric8.utils.HostUtils
-
Returns the local hostname.
- getLocalIp() - Static method in class io.fabric8.utils.HostUtils
-
Returns the local IP.
- getLong(Properties, String) - Static method in class io.fabric8.utils.PropertiesHelper
-
- getLong(Properties, String, Long) - Static method in class io.fabric8.utils.PropertiesHelper
-
- getLongValue(Properties, String, long) - Static method in class io.fabric8.utils.PropertiesHelper
-
- getLongValue(Map<String, String>, String, long) - Static method in class io.fabric8.utils.PropertiesHelper
-
- getManifest(File) - Static method in class io.fabric8.utils.Manifests
-
Returns the entry from the manifest for the given name
- getManifestEntry(File, String) - Static method in class io.fabric8.utils.Manifests
-
Returns the entry from the manifest for the given name
- getNamespaces(File) - Static method in class io.fabric8.utils.XmlHelper
-
Returns the namespace URIs found in the given XML file
- getNamespaces(InputStream) - Static method in class io.fabric8.utils.XmlHelper
-
Returns the namespace URIs found in the given XML file
- getNamespaces(InputSource) - Static method in class io.fabric8.utils.XmlHelper
-
Returns the namespace URIs found in the given XML file
- getNamespaces() - Method in class io.fabric8.utils.XmlNamespaceFinder
-
- getNetworkInterfaceAddresses() - Static method in class io.fabric8.utils.HostUtils
-
- getNextAvailable() - Static method in class io.fabric8.utils.AvailablePortFinder
-
Gets the next available port starting at the lowest number.
- getNextAvailable(int) - Static method in class io.fabric8.utils.AvailablePortFinder
-
Gets the next available port starting at a given from port.
- getProcessIds() - Static method in class io.fabric8.utils.Processes
-
Returns the list of current active PIDs
- getPublicPort(int) - Static method in class io.fabric8.utils.PublicPortMapper
-
- getRelativePath(File, File) - Static method in class io.fabric8.utils.Files
-
- getReleaseVersion() - Static method in class io.fabric8.utils.FabricVersionUtils
-
Gets the fabric release version such as 1.1.0
- getRowFlags() - Method in class io.fabric8.utils.TablePrinter.Column
-
- getSecond() - Method in class io.fabric8.utils.Pair
-
- getServiceEnvVarPrefix(String) - Static method in class io.fabric8.utils.Systems
-
- getServiceHostAndPort(String, String, String, String) - Static method in class io.fabric8.utils.Systems
-
Returns the service host and port for the given environment variable name.
- getServiceHostAndPort(String, String, String) - Static method in class io.fabric8.utils.Systems
-
Returns the service host and port for the given environment variable name.
- getSystemPropertyOrEnvVar(String, String, String) - Static method in class io.fabric8.utils.Systems
-
- getTarget() - Method in class io.fabric8.utils.SerialExecutorService
-
- getTextContent(Node) - Static method in class io.fabric8.utils.XmlUtils
-
- getTextContentOfElement(Document, String) - Static method in class io.fabric8.utils.XmlUtils
-
- getTextContentOfElement(Element, String) - Static method in class io.fabric8.utils.XmlUtils
-
- getTransformer() - Static method in class io.fabric8.utils.DomHelper
-
- getTransformerFactory() - Static method in class io.fabric8.utils.DomHelper
-
- getWidth() - Method in class io.fabric8.utils.TablePrinter.Column
-
- getXPath() - Method in class io.fabric8.utils.XPathBuilder
-
- getXPathFactory() - Method in class io.fabric8.utils.XPathBuilder
-
- getXpathText() - Method in class io.fabric8.utils.XPathFacade
-
- GuardedBy - Annotation Type in io.fabric8.utils.jcip
-
The field or method to which this annotation is applied can only be accessed
when holding a particular lock, which may be a built-in (synchronization) lock,
or may be an explicit java.util.concurrent.Lock.
- guessMediaType(File) - Static method in class io.fabric8.utils.Files
-
Returns the MIME type of the given file
- guessMediaType(String) - Static method in class io.fabric8.utils.Files
-
Returns the MIME type of the given file name
- save(Document, File) - Static method in class io.fabric8.utils.DomHelper
-
- saveInstalledChecksumCache(File, Map<File, Long>) - Static method in class io.fabric8.utils.ChecksumUtils
-
- SerialExecutorService - Class in io.fabric8.utils
-
An ExecutorService which ensures serial execution of the Runnable
objects which it is asked to execute.
- SerialExecutorService() - Constructor for class io.fabric8.utils.SerialExecutorService
-
- SerialExecutorService(String) - Constructor for class io.fabric8.utils.SerialExecutorService
-
- SerialExecutorService(Executor) - Constructor for class io.fabric8.utils.SerialExecutorService
-
- SerialExecutorService(Executor, String) - Constructor for class io.fabric8.utils.SerialExecutorService
-
- setCount(String, int) - Method in class io.fabric8.utils.CountingMap
-
Updates the counter value for the given key
- setFactory(SAXParserFactory) - Static method in class io.fabric8.utils.XmlHelper
-
- setFactory(SAXParserFactory) - Method in class io.fabric8.utils.XmlNamespaceFinder
-
- setHeaderFlags(String) - Method in class io.fabric8.utils.TablePrinter.Column
-
- setLabel(String) - Method in class io.fabric8.utils.SerialExecutorService
-
- setRowFlags(String) - Method in class io.fabric8.utils.TablePrinter.Column
-
- setStringValues(Map, String, String[]) - Static method in class io.fabric8.utils.Maps
-
Sets the string values in the map for the given key, using a comma to separate the values as a String
- setTarget(Executor) - Method in class io.fabric8.utils.SerialExecutorService
-
- setTransformer(Transformer) - Static method in class io.fabric8.utils.DomHelper
-
- setTransformerFactory(TransformerFactory) - Static method in class io.fabric8.utils.DomHelper
-
- setValue(Map, String, Object) - Static method in class io.fabric8.utils.Maps
-
Sets the value in the map for the given key; if the value is null then remove the value from the map
- setWidth(int) - Method in class io.fabric8.utils.TablePrinter.Column
-
- setXPath(XPath) - Method in class io.fabric8.utils.XPathBuilder
-
- setXPathFactory(XPathFactory) - Method in class io.fabric8.utils.XPathBuilder
-
- shutdown - Variable in class io.fabric8.utils.SerialExecutorService
-
- shutdown() - Method in class io.fabric8.utils.SerialExecutorService
-
- shutdown(Runnable) - Method in class io.fabric8.utils.ShutdownTracker
-
Marks the resource as being in a shutdown state.
- shutdownNow() - Method in class io.fabric8.utils.SerialExecutorService
-
- ShutdownTracker - Class in io.fabric8.utils
-
A ShutdownTracker is used to track when a resource
is in use so that a shutdown action can occur
once all concurrent use of the resource has completed.
- ShutdownTracker() - Constructor for class io.fabric8.utils.ShutdownTracker
-
- ShutdownTracker.ShutdownException - Exception in io.fabric8.utils
-
- ShutdownTracker.ShutdownException() - Constructor for exception io.fabric8.utils.ShutdownTracker.ShutdownException
-
- splitAndTrimAsList(String, String) - Static method in class io.fabric8.utils.Strings
-
splits a string into a list of strings.
- splitAsList(String, String) - Static method in class io.fabric8.utils.Strings
-
splits a string into a list of strings, ignoring the empty string
- splitCamelCase(String) - Static method in class io.fabric8.utils.Strings
-
Splits a CamelCase string using a space between them.
- splitCamelCase(String, String) - Static method in class io.fabric8.utils.Strings
-
Splits a CamelCase string using a separator string between them.
- splitToWhiteSpaceSeparatedTokens(String) - Static method in class io.fabric8.utils.ExecParseUtils
-
- startElement(String, String, String, Attributes) - Method in class io.fabric8.utils.XmlNamespaceFinder
-
- stop() - Method in class io.fabric8.utils.ShutdownTracker
-
Calls shutdown
but waits for the shutdown to complete before
this method returns.
- Strings - Class in io.fabric8.utils
-
- Strings() - Constructor for class io.fabric8.utils.Strings
-
- stringValue(Map, String) - Static method in class io.fabric8.utils.Maps
-
Returns the String value of the given property in the map or null
- stringValue(Map, String, String) - Static method in class io.fabric8.utils.Maps
-
Returns the String value of the given property in the map if its defined or the default value
- stringValues(Map, String) - Static method in class io.fabric8.utils.Maps
-
Returns the string values for the given key.
- stripLeadingSeparator(String) - Static method in class io.fabric8.utils.Files
-
Strip any leading separators
- stripPrefix(String, String) - Static method in class io.fabric8.utils.Strings
-
- stripSuffix(String, String) - Static method in class io.fabric8.utils.DataStoreUtils
-
- stripSuffix(String, String) - Static method in class io.fabric8.utils.Strings
-
- substituteChecksum(String) - Static method in class io.fabric8.utils.DataStoreUtils
-
Substitutes a placeholder with the checksum:[url] format with the checksum of the urls target.
- substituteProfileProperty(String, Map<String, Map<String, String>>) - Static method in class io.fabric8.utils.DataStoreUtils
-
Substitutes a placeholder with profile:[property file]/[key], with the target value.
- Systems - Class in io.fabric8.utils
-
- Systems() - Constructor for class io.fabric8.utils.Systems
-