Skip navigation links
A C D E F G I K L M N O P R S T U W Z 

A

absoluteFile() - Method in class org.devopology.tools.Toolset
Method to get an absolute File in the current working directory
absoluteFile(String) - Method in class org.devopology.tools.Toolset
Method to get an absolute File
absolutePath(String) - Method in class org.devopology.tools.Toolset
Method to get an absolute path
absolutePath(File) - Method in class org.devopology.tools.Toolset
Method to get an absolute path
arguments(String...) - Method in class org.devopology.tools.Toolset
Method to convert a variable argument list into a an array
arguments(List<String>) - Method in class org.devopology.tools.Toolset
 

C

changeDirectory(String) - Method in class org.devopology.tools.Toolset
Method to change the current working directory
checkExitCode(int) - Method in class org.devopology.tools.Toolset
Method to check the exit code of the last execute command
checksumCRC32(String) - Method in class org.devopology.tools.Toolset
 
cleanDirectory(String) - Method in class org.devopology.tools.Toolset
 
CONFIGURATION_EXECUTE_SHOW_CONTENT - Static variable in class org.devopology.tools.Toolset
 
CONFIGURATION_LOGGER_MUTE - Static variable in class org.devopology.tools.Toolset
 
copyDirectory(String, String) - Method in class org.devopology.tools.Toolset
 
copyDirectoryToDirectory(String, String) - Method in class org.devopology.tools.Toolset
 
copyFile(String, String) - Method in class org.devopology.tools.Toolset
 
CP - Static variable in class org.devopology.tools.Toolset
Common system executables
currentLogLevel - Variable in class org.devopology.tools.impl.SimpleLogger
The current log level
currentWorkingDirectory - Variable in class org.devopology.tools.Toolset
Track the current working directory

D

DATE_TIME_FORMAT_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
debug(String) - Method in class org.devopology.tools.impl.SimpleLogger
A simple implementation which logs messages of level DEBUG according to the format outlined above.
debug(String, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform single parameter substitution before logging the message of level DEBUG according to the format outlined above.
debug(String, Object, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level DEBUG according to the format outlined above.
debug(String, Object...) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level DEBUG according to the format outlined above.
debug(String, Throwable) - Method in class org.devopology.tools.impl.SimpleLogger
Log a message of level DEBUG, including an exception.
debug(Object) - Method in class org.devopology.tools.Toolset
Method to log a debug message
DEFAULT_LOG_LEVEL_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
deleteDirectory(String) - Method in class org.devopology.tools.Toolset
 
deleteQuietly(String) - Method in class org.devopology.tools.Toolset
 
DIRECTORY - Static variable in class org.devopology.tools.Toolset
 
directoryContains(String, String) - Method in class org.devopology.tools.Toolset
 

E

error(String) - Method in class org.devopology.tools.impl.SimpleLogger
A simple implementation which always logs messages of level ERROR according to the format outlined above.
error(String, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform single parameter substitution before logging the message of level ERROR according to the format outlined above.
error(String, Object, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level ERROR according to the format outlined above.
error(String, Object...) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level ERROR according to the format outlined above.
error(String, Throwable) - Method in class org.devopology.tools.impl.SimpleLogger
Log a message of level ERROR, including an exception.
error(Object) - Method in class org.devopology.tools.Toolset
Method to log an error error message
execute(String, String[]) - Method in class org.devopology.tools.Toolset
Method to execute an executable
execute(String, String[], int) - Method in class org.devopology.tools.Toolset
Method to execute an executable
ExecutionResult - Interface in org.devopology.tools
Execute result
ExecutionResultImpl - Class in org.devopology.tools.impl
 
ExecutionResultImpl() - Constructor for class org.devopology.tools.impl.ExecutionResultImpl
 
exists(String) - Method in class org.devopology.tools.Toolset
Method to determine if a file exists
EXIT_CODE - Static variable in class org.devopology.tools.Toolset
Exit code of the last executable execution
exitCode() - Method in class org.devopology.tools.Toolset
Method to get the exit code of the last execute command

F

FILE - Static variable in class org.devopology.tools.Toolset
 
FIND - Static variable in class org.devopology.tools.Toolset
 
forceDelete(String) - Method in class org.devopology.tools.Toolset
 
forceMkdir(String) - Method in class org.devopology.tools.Toolset
 
forceMkdirParent(String) - Method in class org.devopology.tools.Toolset
 

G

getConfiguration(String, String) - Method in class org.devopology.tools.Toolset
Method to get a configuration value based on key
getContent() - Method in interface org.devopology.tools.ExecutionResult
Get the content (output) from the execute call
getContent() - Method in class org.devopology.tools.impl.ExecutionResultImpl
 
getExitCode() - Method in interface org.devopology.tools.ExecutionResult
Get the exit code of the execute call
getExitCode() - Method in class org.devopology.tools.impl.ExecutionResultImpl
 
getLogger() - Method in class org.devopology.tools.Toolset
Method to get the slf4j Logger
getTempDirectoryPath() - Method in class org.devopology.tools.Toolset
 
getUserDirectoryPath() - Method in class org.devopology.tools.Toolset
 
GREP - Static variable in class org.devopology.tools.Toolset
 
GZIP - Static variable in class org.devopology.tools.Toolset
 

I

info(String) - Method in class org.devopology.tools.impl.SimpleLogger
A simple implementation which logs messages of level INFO according to the format outlined above.
info(String, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform single parameter substitution before logging the message of level INFO according to the format outlined above.
info(String, Object, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level INFO according to the format outlined above.
info(String, Object...) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level INFO according to the format outlined above.
info(String, Throwable) - Method in class org.devopology.tools.impl.SimpleLogger
Log a message of level INFO, including an exception.
info(Object) - Method in class org.devopology.tools.Toolset
Method to log an info message
init(Properties) - Static method in class org.devopology.tools.impl.SimpleLogger
Method to initialize the logger with a Properties object
isDebugEnabled() - Method in class org.devopology.tools.impl.SimpleLogger
Are debug messages currently enabled?
isErrorEnabled() - Method in class org.devopology.tools.impl.SimpleLogger
Are error messages currently enabled?
isInfoEnabled() - Method in class org.devopology.tools.impl.SimpleLogger
Are info messages currently enabled?
isLevelEnabled(int) - Method in class org.devopology.tools.impl.SimpleLogger
Is the given log level currently enabled?
isTraceEnabled() - Method in class org.devopology.tools.impl.SimpleLogger
Are trace messages currently enabled?
isWarnEnabled() - Method in class org.devopology.tools.impl.SimpleLogger
Are warn messages currently enabled?

K

KILL - Static variable in class org.devopology.tools.Toolset
 

L

LEVEL_IN_BRACKETS_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
listFiles(String) - Method in class org.devopology.tools.Toolset
Method to rename a file
loadJSONArray(String) - Method in class org.devopology.tools.Toolset
Method to load a file's content as a JSONArray
loadJSONObject(String) - Method in class org.devopology.tools.Toolset
Method to load a file's content as a JSONObject
loadProperties(String) - Method in class org.devopology.tools.Toolset
Method to create a directory, creating any necassary parent directories
log(LoggingEvent) - Method in class org.devopology.tools.impl.SimpleLogger
 
LOG_FILE_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
LOG_KEY_PREFIX - Static variable in class org.devopology.tools.impl.SimpleLogger
 
LS - Static variable in class org.devopology.tools.Toolset
 

M

main(String[]) - Static method in class org.devopology.tools.Packager
 
mergeConfiguration(Properties) - Method in class org.devopology.tools.Toolset
Method to merge Properties into the current configuration Properties
MKDIR - Static variable in class org.devopology.tools.Toolset
 
moveDirectory(String, String) - Method in class org.devopology.tools.Toolset
 
moveDirectoryToDirectory(String, String, boolean) - Method in class org.devopology.tools.Toolset
 
moveFile(String, String) - Method in class org.devopology.tools.Toolset
 
moveFileToDirectory(String, String, boolean) - Method in class org.devopology.tools.Toolset
 
moveToDirectory(String, String, boolean) - Method in class org.devopology.tools.Toolset
 
MUTE - Static variable in class org.devopology.tools.impl.SimpleLogger
 

N

noExtension(String) - Method in class org.devopology.tools.Toolset
Method to get a filename without extension
noPath(String) - Method in class org.devopology.tools.Toolset
Method to a filename from an absolute path
NOT_FOUND - Static variable in class org.devopology.tools.Toolset
File types

O

org.devopology.tools - package org.devopology.tools
 
org.devopology.tools.impl - package org.devopology.tools.impl
 

P

Packager - Class in org.devopology.tools
 
Packager() - Constructor for class org.devopology.tools.Packager
 
parseJSONArray(String) - Method in class org.devopology.tools.Toolset
Method to parse a String as a JSONArray
parseJSONObject(String) - Method in class org.devopology.tools.Toolset
Method to parse a String as a JSONObject
properties - Variable in class org.devopology.tools.Toolset
Configuration
PS - Static variable in class org.devopology.tools.Toolset
 
pwd() - Method in class org.devopology.tools.Toolset
Method to get the current working directory

R

readFileToByteArray(String) - Method in class org.devopology.tools.Toolset
 
readFileToString(String) - Method in class org.devopology.tools.Toolset
 
readFileToString(String, Charset) - Method in class org.devopology.tools.Toolset
 
recursivelyListFiles(String) - Method in class org.devopology.tools.Toolset
Method to recursive list all children, grandchildren, etc.
replaceProperties(String) - Method in class org.devopology.tools.Toolset
Method to replace Properties in a String
replaceProperties(Properties, String) - Method in class org.devopology.tools.Toolset
Method to replace Properties in a file
replaceProperties(Properties, String, String) - Method in class org.devopology.tools.Toolset
Method to replace Properties in a file
RM - Static variable in class org.devopology.tools.Toolset
 
run(String[]) - Method in class org.devopology.tools.Packager
 

S

setConfiguration(String, String) - Method in class org.devopology.tools.Toolset
Method to set a configuration key / value
setConfiguration(Properties) - Method in class org.devopology.tools.Toolset
Method to set configuration Properties
setContent(String) - Method in class org.devopology.tools.impl.ExecutionResultImpl
 
setExitCode(int) - Method in class org.devopology.tools.impl.ExecutionResultImpl
 
SHOW_DATE_TIME_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
SHOW_LOG_NAME_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
SHOW_SHORT_LOG_NAME_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
SHOW_THREAD_NAME_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
SimpleLogger - Class in org.devopology.tools.impl
Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to the console (System.err).
SimpleLogger(String) - Constructor for class org.devopology.tools.impl.SimpleLogger
 
sizeOf(File) - Method in class org.devopology.tools.Toolset
 
sizeOfDirectory(String) - Method in class org.devopology.tools.Toolset
 
stringToArray(String) - Method in class org.devopology.tools.Toolset
Method to convert a string with CRLF to a list
stringToList(String) - Method in class org.devopology.tools.Toolset
Method to convert a string with CRLF to a list
SYSTEM_PREFIX - Static variable in class org.devopology.tools.impl.SimpleLogger
All system properties used by SimpleLogger start with this prefix
SYSTEMCTL - Static variable in class org.devopology.tools.Toolset
Systemdctl executable
SYSTEMD_SERVICE_ROOT - Static variable in class org.devopology.tools.Toolset
Systemd root path for service files

T

TAR - Static variable in class org.devopology.tools.Toolset
 
Toolset - Class in org.devopology.tools
Class to implement common methods
Toolset() - Constructor for class org.devopology.tools.Toolset
Constructor
ToolsetException - Exception in org.devopology.tools
 
ToolsetException(String) - Constructor for exception org.devopology.tools.ToolsetException
 
ToolsetException(Throwable) - Constructor for exception org.devopology.tools.ToolsetException
 
ToolsetException(String, Throwable) - Constructor for exception org.devopology.tools.ToolsetException
 
toString() - Method in class org.devopology.tools.impl.ExecutionResultImpl
 
touch(String) - Method in class org.devopology.tools.Toolset
 
trace(String) - Method in class org.devopology.tools.impl.SimpleLogger
A simple implementation which logs messages of level TRACE according to the format outlined above.
trace(String, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform single parameter substitution before logging the message of level TRACE according to the format outlined above.
trace(String, Object, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level TRACE according to the format outlined above.
trace(String, Object...) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level TRACE according to the format outlined above.
trace(String, Throwable) - Method in class org.devopology.tools.impl.SimpleLogger
Log a message of level TRACE, including an exception.
trace(Object) - Method in class org.devopology.tools.Toolset
Method to log a trace message
type(String) - Method in class org.devopology.tools.Toolset
Method to get the "type" of a file
typeString(String) - Method in class org.devopology.tools.Toolset
Method to get the "type" of a file as a String

U

UNZIP - Static variable in class org.devopology.tools.Toolset
 
unzip(String, String) - Method in class org.devopology.tools.Toolset
Method to unzip a file into a directory
unzip(String, String, boolean) - Method in class org.devopology.tools.Toolset
Method to unzip a file into a directory

W

warn(String) - Method in class org.devopology.tools.impl.SimpleLogger
A simple implementation which always logs messages of level WARN according to the format outlined above.
warn(String, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform single parameter substitution before logging the message of level WARN according to the format outlined above.
warn(String, Object, Object) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level WARN according to the format outlined above.
warn(String, Object...) - Method in class org.devopology.tools.impl.SimpleLogger
Perform double parameter substitution before logging the message of level WARN according to the format outlined above.
warn(String, Throwable) - Method in class org.devopology.tools.impl.SimpleLogger
Log a message of level WARN, including an exception.
warn(Object) - Method in class org.devopology.tools.Toolset
Method to log a warning warning
WARN_LEVEL_STRING_KEY - Static variable in class org.devopology.tools.impl.SimpleLogger
 
writeByteArrayToFile(String, byte[]) - Method in class org.devopology.tools.Toolset
 
writeByteArrayToFile(String, byte[], boolean) - Method in class org.devopology.tools.Toolset
 
writeStringToFile(String, String) - Method in class org.devopology.tools.Toolset
 
writeStringToFile(String, String, Charset) - Method in class org.devopology.tools.Toolset
 

Z

ZIP - Static variable in class org.devopology.tools.Toolset
 
zip(String, String) - Method in class org.devopology.tools.Toolset
Method to zip a directory
zipFolder(File, File) - Static method in class org.devopology.tools.impl.ZipUtils
 
zipFolder(File, OutputStream) - Static method in class org.devopology.tools.impl.ZipUtils
 
ZipUtils - Class in org.devopology.tools.impl
 
ZipUtils() - Constructor for class org.devopology.tools.impl.ZipUtils
 
A C D E F G I K L M N O P R S T U W Z 
Skip navigation links

Copyright © 2016. All rights reserved.