A B C D E F G H I J K L M N O P R S T U V W X Z 

A

addCause(Throwable) - Method in exception io.fabric8.utils.MultiException
 
AllCertificatesTrustManager - Class in io.fabric8.utils
A trust manager that will accept any certificate.
AllCertificatesTrustManager() - Constructor for class io.fabric8.utils.AllCertificatesTrustManager
 
appendVersionRange(String, String) - Static method in class io.fabric8.utils.PatchUtils
Appends a version range to a url
Arrays - Class in io.fabric8.utils
Helper class for working with arrays
Arrays() - Constructor for class io.fabric8.utils.Arrays
 
assertDirectoryExists(File) - Static method in class io.fabric8.utils.Files
Throws an exception if the given file does not exist
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
AuthenticationUtils - Class in io.fabric8.utils
 
AuthenticationUtils() - Constructor for class io.fabric8.utils.AuthenticationUtils
 
awaitTermination(long, TimeUnit) - Method in class io.fabric8.utils.SerialExecutorService
 

B

base64CharSet - Static variable in class io.fabric8.utils.Base64Encoder
 
Base64Encoder - Class in io.fabric8.utils
Bease64 encoding utilities.
booleanValue(Map<String, ?>, String) - Static method in class io.fabric8.utils.Maps
Returns the boolean value of the given property in the map or false
booleanValue(Map<String, ?>, String, boolean) - Static method in class io.fabric8.utils.Maps
Returns the boolean value of the given property in the map or returns the default value if its not present
BundleUtils - Class in io.fabric8.utils
 
BundleUtils(BundleContext) - Constructor for class io.fabric8.utils.BundleUtils
 

C

checkClientTrusted(X509Certificate[], String) - Method in class io.fabric8.utils.AllCertificatesTrustManager
Null implementation.
checkServerTrusted(X509Certificate[], String) - Method in class io.fabric8.utils.AllCertificatesTrustManager
Null implementation.
checksum(InputStream) - Static method in class io.fabric8.utils.ChecksumUtils
Compute a cheksum 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
ChecksumUtils - Class in io.fabric8.utils
 
Closeables - Class in io.fabric8.utils
 
closeQuitely(Closeable) - Static method in class io.fabric8.utils.Closeables
 
Constants - Interface in io.fabric8.utils
 
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 the InputStream to the OutputStream.
createTempFile() - Static method in class io.fabric8.utils.Files
Creates a temporary file.

D

DataStoreUtils - Class in io.fabric8.utils
 
DataStoreUtils() - Constructor for class io.fabric8.utils.DataStoreUtils
 
DEBUG_CONTAINER - Static variable in interface io.fabric8.utils.Constants
 
decode(String) - Static method in class io.fabric8.utils.Base64Encoder
Decodes a base 64 String into a String.
decode(byte[]) - Static method in class io.fabric8.utils.Base64Encoder
Dencodes a com.sun.syndication.io.impl.Base64 byte array.
decode(String) - Static method in class io.fabric8.utils.PasswordEncoder
Decodes a base 64 String into a String.
decode(String) - Static method in class io.fabric8.utils.URLUtils
Decodes the specified (portion of a) URL.
DEFAULT_HOST_SSH_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_HTTP_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_HTTPS_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_KARAF_SSH_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_RMI_REGISTRY_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_RMI_SERVER_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_ZOOKEEPER_ELECTION_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_ZOOKEEPER_PEER_PORT - Static variable in class io.fabric8.utils.Ports
 
DEFAULT_ZOOKEEPER_SERVER_PORT - Static variable in class io.fabric8.utils.Ports
 
defaultIfEmpty(String, String) - Static method in class io.fabric8.utils.Strings
 
drain() - Method in class io.fabric8.utils.SerialExecutorService
This method blocks until all previously queued Runnable objects are run.
draining - Variable in class io.fabric8.utils.SerialExecutorService
 
drainTask - Variable in class io.fabric8.utils.SerialExecutorService
 

E

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.
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

F

FABRIC_ENVIRONMENT - Static variable in class io.fabric8.utils.SystemProperties
 
FabricValidations - Class in io.fabric8.utils
 
FeatureUtils - Class in io.fabric8.utils.features
 
Files - Class in io.fabric8.utils
 
findAndStopBundle(String) - Method in class io.fabric8.utils.BundleUtils
 
findBundle(String) - Method in class io.fabric8.utils.BundleUtils
 
findFreeLocalPort(Set<Integer>, int, int, boolean) - Static method in class io.fabric8.utils.Ports
Finds a the next free local port, based on the list of used ports and the ability to directly check if port is free.
findPort(Map<String, List<Integer>>, String, int) - Static method in class io.fabric8.utils.Ports
Finds a port based on the given ip and the used ports for that ip.
findUsedPorts(int, int) - Static method in class io.fabric8.utils.Ports
Returns a Set of used ports within the range.

G

getAcceptedIssuers() - Method in class io.fabric8.utils.AllCertificatesTrustManager
Null implementation.
getAddresses() - Static method in class io.fabric8.utils.HostUtils
Returns a Set of InetAddress that are non-loopback or mac.
getCauses() - Method in exception io.fabric8.utils.MultiException
 
getChildElements(Element) - Static method in class io.fabric8.utils.XmlUtils
 
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
 
getLabel() - Method in class io.fabric8.utils.SerialExecutorService
 
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, 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
 
getNetworkInterfaceAddresses() - Static method in class io.fabric8.utils.HostUtils
Returns a of InetAddress per NetworkInterface as a Map.
getRelativePath(File, File) - Static method in class io.fabric8.utils.Files
 
getTarget() - Method in class io.fabric8.utils.SerialExecutorService
 
getTermWidth(CommandSession) - Static method in class io.fabric8.utils.shell.ShellUtils
Returns the width.
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
 

H

HostUtils - Class in io.fabric8.utils
 

I

installBundle(String) - Method in class io.fabric8.utils.BundleUtils
 
integerValue(Map<String, ?>, String) - Static method in class io.fabric8.utils.Maps
Returns the Integer value of the given property in the map or null
integerValue(Map<String, ?>, String, Integer) - Static method in class io.fabric8.utils.Maps
Returns the Integer value of the given property in the map or returns the default value if its not present
io.fabric8.utils - package io.fabric8.utils
 
io.fabric8.utils.features - package io.fabric8.utils.features
 
io.fabric8.utils.json - package io.fabric8.utils.json
 
io.fabric8.utils.shell - package io.fabric8.utils.shell
 
isDraining() - Method in class io.fabric8.utils.SerialExecutorService
 
isNotBlank(String) - Static method in class io.fabric8.utils.Strings
 
isNullOrBlank(String) - Static method in class io.fabric8.utils.Strings
 
isPortFree(int) - Static method in class io.fabric8.utils.Ports
Checks if a local port is free.
isShutdown() - Method in class io.fabric8.utils.SerialExecutorService
 
isTerminated() - Method in class io.fabric8.utils.SerialExecutorService
 
isValidName(String) - Static method in class io.fabric8.utils.FabricValidations
 
isWindows() - Static method in class io.fabric8.utils.Files
Returns true, if the OS is windows

J

JAVA_RMI_SERVER_HOSTNAME - Static variable in class io.fabric8.utils.SystemProperties
 
join(String, Object...) - Static method in class io.fabric8.utils.Arrays
Joins the values together using the given separator between the values
join(Collection<?>, String) - Static method in class io.fabric8.utils.Strings
joins a collection of objects together as a String using a separator
join(String, Object...) - Static method in class io.fabric8.utils.Strings
joins a collection of objects together as a String using a separator
joinNotNull(String, Object...) - Static method in class io.fabric8.utils.Strings
joins a collection of objects together as a String using a separator, filtering out null values
JsonReader - Class in io.fabric8.utils.json
 
JsonWriter - Class in io.fabric8.utils.json
 
JsonWriter() - Constructor for class io.fabric8.utils.json.JsonWriter
 

K

KARAF_BASE - Static variable in class io.fabric8.utils.SystemProperties
 
KARAF_DATA - Static variable in class io.fabric8.utils.SystemProperties
 
KARAF_ETC - Static variable in class io.fabric8.utils.SystemProperties
 
KARAF_HOME - Static variable in class io.fabric8.utils.SystemProperties
 
KARAF_NAME - Static variable in class io.fabric8.utils.SystemProperties
 

L

label - Variable in class io.fabric8.utils.SerialExecutorService
 
listValue(Map<String, Object>, String) - Static method in class io.fabric8.utils.Maps
Returns a list of values for the given key.
localQueue - Variable in class io.fabric8.utils.SerialExecutorService
 

M

main(String[]) - Static method in class io.fabric8.utils.Base64Encoder
 
mapPortToRange(int, int, int) - Static method in class io.fabric8.utils.Ports
Maps the target port inside a port range.
mapPortToRange(int, String, String) - Static method in class io.fabric8.utils.Ports
Maps the target port inside a port range.
Maps - Class in io.fabric8.utils
Some helper methods for working with maps
Maps() - Constructor for class io.fabric8.utils.Maps
 
MAX_PORT_NUMBER - Static variable in class io.fabric8.utils.Ports
 
MIN_PORT_NUMBER - Static variable in class io.fabric8.utils.Ports
 
MultiException - Exception in io.fabric8.utils
 
MultiException(String) - Constructor for exception io.fabric8.utils.MultiException
 
MultiException(String, Collection<Throwable>) - Constructor for exception io.fabric8.utils.MultiException
 

N

normalizePath(String) - Static method in class io.fabric8.utils.Files
Normalizes the path to cater for Windows and other platforms
normalizePath(String, char, char) - Static method in class io.fabric8.utils.Files
 
notEmpty(String) - Static method in class io.fabric8.utils.Strings
Returns true if the given text is not null and not empty
NullArgumentException - Exception in io.fabric8.utils
Exception thrown when the argument to a method or constructor is null and not handled by the method/constructor/class.
NullArgumentException(String) - Constructor for exception io.fabric8.utils.NullArgumentException
Constructor.
nullIfEmpty(String) - Static method in class io.fabric8.utils.Strings
 

O

ObjectUtils - Class in io.fabric8.utils
 
ObjectUtils() - Constructor for class io.fabric8.utils.ObjectUtils
 
OsgiUtils - Class in io.fabric8.utils
 
OsgiUtils() - Constructor for class io.fabric8.utils.OsgiUtils
 

P

parse() - Method in class io.fabric8.utils.json.JsonReader
 
parseDelimitedString(String, String) - Static method in class io.fabric8.utils.Strings
 
parseDelimitedString(String, String, boolean) - Static method in class io.fabric8.utils.Strings
Parses delimited string and returns an array containing the tokens.
parseDoc(File) - Static method in class io.fabric8.utils.XmlUtils
 
parseDoc(InputStream) - Static method in class io.fabric8.utils.XmlUtils
 
PasswordEncoder - Class in io.fabric8.utils
 
PatchUtils - Class in io.fabric8.utils
Helper class for working with override strings for patches in Fabric.
PORT_PATTERN - Static variable in class io.fabric8.utils.Ports
 
Ports - Class in io.fabric8.utils
 
PREFERED_ADDRESS_PROPERTY_NAME - Static variable in class io.fabric8.utils.HostUtils
 
PREFIX - Static variable in class io.fabric8.utils.PasswordEncoder
 
prepareForAuthentication(URLConnection) - Static method in class io.fabric8.utils.URLUtils
Prepares an url connection for authentication if necessary.
prepareForSSL(URLConnection) - Static method in class io.fabric8.utils.URLUtils
Prepares an url connection for authentication if necessary.
prepareInputStream(URL, boolean) - Static method in class io.fabric8.utils.URLUtils
Prepare url for authentication and ssl if necessary and returns the input stream from the url.
printStackTrace() - Method in exception io.fabric8.utils.MultiException
 
printStackTrace(PrintStream) - Method in exception io.fabric8.utils.MultiException
 
printStackTrace(PrintWriter) - Method in exception io.fabric8.utils.MultiException
 
PROFILE - Static variable in class io.fabric8.utils.SystemProperties
 
PropertiesHelper - Class in io.fabric8.utils
Helper methods for extracting values form a Properties object
PropertiesHelper() - Constructor for class io.fabric8.utils.PropertiesHelper
 
PROTOCOL - Static variable in interface io.fabric8.utils.Constants
 
putAll(Map<K, V>, Map<K, V>, K...) - Static method in class io.fabric8.utils.Maps
Copies the entries for the given keys form the input map to the output map

R

read(Reader) - Static method in class io.fabric8.utils.json.JsonReader
 
read(InputStream) - Static method in class io.fabric8.utils.json.JsonReader
 
readBytes(File) - Static method in class io.fabric8.utils.Files
Reads a File and returns the data as a byte array
readBytes(InputStream) - Static method in class io.fabric8.utils.Files
Reads an InputStream and returns the data as a byte array
readLine(CommandSession, String, boolean) - Static method in class io.fabric8.utils.shell.ShellUtils
Displays the message and reads the input.
readLines(File) - Static method in class io.fabric8.utils.Files
Reads a File and returns the list of lines
recursiveDelete(File, FileFilter) - Static method in class io.fabric8.utils.Files
Recursively deletes the file and any children files if its a directory
retrieveFabricUser(CommandSession) - Static method in class io.fabric8.utils.shell.ShellUtils
Returns the fabric username stored in the CommandSession.
retrieveFabricUserPassword(CommandSession) - Static method in class io.fabric8.utils.shell.ShellUtils
Returns the fabric username stored in the CommandSession.
retrieveFabricZookeeperPassword(CommandSession) - Static method in class io.fabric8.utils.shell.ShellUtils
Returns the fabric zookeeper password stored in the CommandSession.
retrieveJaasPassword() - Static method in class io.fabric8.utils.AuthenticationUtils
 
retrieveJaasUser() - Static method in class io.fabric8.utils.AuthenticationUtils
 
retrievePassword(Subject) - Static method in class io.fabric8.utils.AuthenticationUtils
 
retrieveUser(Subject) - Static method in class io.fabric8.utils.AuthenticationUtils
 

S

search(String, Collection<Repository>) - Static method in class io.fabric8.utils.features.FeatureUtils
 
search(String, String, Collection<Repository>) - Static method in class io.fabric8.utils.features.FeatureUtils
 
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
 
SERVICE_TIMEOUT - Static variable in class io.fabric8.utils.OsgiUtils
 
setLabel(String) - Method in class io.fabric8.utils.SerialExecutorService
 
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
 
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
ShellUtils - Class in io.fabric8.utils.shell
 
shutdown - Variable in class io.fabric8.utils.SerialExecutorService
 
shutdown() - Method in class io.fabric8.utils.SerialExecutorService
 
shutdownNow() - Method in class io.fabric8.utils.SerialExecutorService
 
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
storeFabricCredentials(CommandSession, String, String) - Static method in class io.fabric8.utils.shell.ShellUtils
Stores username and password to the CommandSession.
storeZookeeperPassword(CommandSession, String) - Static method in class io.fabric8.utils.shell.ShellUtils
Stores zookeeper password to the CommandSession.
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.
stripSuffix(String, String) - Static method in class io.fabric8.utils.DataStoreUtils
 
substituteBundleProperty(String, BundleContext) - Static method in class io.fabric8.utils.DataStoreUtils
Substitutes bundle property.
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.
SystemProperties - Class in io.fabric8.utils
 

T

target - Variable in class io.fabric8.utils.SerialExecutorService
 
terminated - Variable in class io.fabric8.utils.SerialExecutorService
 
terminatedLatch - Variable in class io.fabric8.utils.SerialExecutorService
 
throwIf(String, List<Throwable>) - Static method in exception io.fabric8.utils.MultiException
 
throwIfCauses() - Method in exception io.fabric8.utils.MultiException
 
toBytes(Properties) - Static method in class io.fabric8.utils.DataStoreUtils
 
toBytes(Map<String, String>) - Static method in class io.fabric8.utils.DataStoreUtils
 
toBytes(Object) - Static method in class io.fabric8.utils.ObjectUtils
 
toMap(Properties) - Static method in class io.fabric8.utils.DataStoreUtils
 
toMap(byte[]) - Static method in class io.fabric8.utils.DataStoreUtils
 
toProperties(byte[]) - Static method in class io.fabric8.utils.DataStoreUtils
 
toProperties(Map<String, String>) - Static method in class io.fabric8.utils.DataStoreUtils
 
toProperties(String) - Static method in class io.fabric8.utils.DataStoreUtils
 
toString(Properties) - Static method in class io.fabric8.utils.DataStoreUtils
 
toString(File, Charset) - Static method in class io.fabric8.utils.Files
Reads a File and returns a .
toString(InputStream) - Static method in class io.fabric8.utils.Files
Reads an InputStream and returns a .
toString(InputStream, Charset) - Static method in class io.fabric8.utils.Files
Reads an InputStream and returns a .
toString(File) - Static method in class io.fabric8.utils.Files
Reads a File and returns a .
toString() - Method in class io.fabric8.utils.SerialExecutorService
 
toString(Object) - Static method in class io.fabric8.utils.Strings
 
toStringProperties(Map<String, ?>) - Static method in class io.fabric8.utils.DataStoreUtils
 
triggerDrain() - Method in class io.fabric8.utils.SerialExecutorService
 
triggered - Variable in class io.fabric8.utils.SerialExecutorService
 

U

unquote(String) - Static method in class io.fabric8.utils.Strings
 
URLUtils - Class in io.fabric8.utils
Url related utility methods.

V

validateContainerName(String) - Static method in class io.fabric8.utils.FabricValidations
 
validateContainerNames(List<String>) - Static method in class io.fabric8.utils.FabricValidations
 
validateNotEmpty(String, String) - Static method in exception io.fabric8.utils.NullArgumentException
Validates that the string is not null and not an empty string without trimming the string.
validateNotEmpty(String, boolean, String) - Static method in exception io.fabric8.utils.NullArgumentException
Validates that the string is not null and not an empty string.
validateNotEmpty(Properties, String) - Static method in exception io.fabric8.utils.NullArgumentException
Validates that the Properties instance is not null and that it has entries.
validateNotEmpty(Object[], String) - Static method in exception io.fabric8.utils.NullArgumentException
Validates that the array instance is not null and that it has entries.
validateNotEmptyContent(String[], String) - Static method in exception io.fabric8.utils.NullArgumentException
Validates that the string array instance is not null and that it has entries that are not null or empty eithout trimming the string.
validateNotEmptyContent(String[], boolean, String) - Static method in exception io.fabric8.utils.NullArgumentException
Validates that the string array instance is not null and that it has entries that are not null or empty.
validateNotNull(Object, String) - Static method in exception io.fabric8.utils.NullArgumentException
Validates that the object obj is not null.
validateProfileName(String) - Static method in class io.fabric8.utils.FabricValidations
 
validateProfileNames(Collection<String>) - Static method in class io.fabric8.utils.FabricValidations
 
value(Map<String, Object>, String, Object) - Static method in class io.fabric8.utils.Maps
Returns the value of the given property in the map

W

waitForSerice(Class, long) - Method in class io.fabric8.utils.OsgiUtils
 
waitForSerice(Class) - Static method in class io.fabric8.utils.OsgiUtils
 
waitForSerice(Class, String, long) - Static method in class io.fabric8.utils.OsgiUtils
 
write(Writer, Object) - Static method in class io.fabric8.utils.json.JsonWriter
 
writeLines(File, List<String>) - Static method in class io.fabric8.utils.Files
Writes the given lines to the File
writeToFile(File, String, Charset) - Static method in class io.fabric8.utils.Files
Writes String content to File.
writeToFile(File, byte[]) - Static method in class io.fabric8.utils.Files
Writes String content to File.

X

XmlUtils - Class in io.fabric8.utils
XML related utilities.

Z

ZOOKEEPER_PASSWORD - Static variable in class io.fabric8.utils.SystemProperties
 
A B C D E F G H I J K L M N O P R S T U V W X Z 

Copyright © 2014 Red Hat. All Rights Reserved.