java.lang.Object | |
↳ | com.atlassian.bamboo.v2.build.agent.capability.ExecutablePathUtils |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Detects the executable home directory and validates that it matches the required pattern using
existsInHomeBinExePattern(String, String) | |||||||||||
Validates that the executable exists at the path ${homePath}/bin/${executableName}
Appends ".bat" to the executable name if the platform is Windows
| |||||||||||
This method will return the executable home path, searching first in environment home, then on PATH, finally in a
FHS - compliant directory.
| |||||||||||
Finds the path of the executable given its name.
| |||||||||||
Gets the home directory for an executable if its parent directory is 'bin'
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Detects the executable home directory and validates that it matches the required pattern using existsInHomeBinExePattern(String, String)
executableName | of the builder executable |
---|
Validates that the executable exists at the path ${homePath}/bin/${executableName} Appends ".bat" to the executable name if the platform is Windows
This method will return the executable home path, searching first in environment home, then on PATH, finally in a FHS - compliant directory.
executableName | executable name to search for |
---|---|
validityPredicate | predicate used to validate the executable path |
envHomeDir | home directory from environment |
fhsHome | FHS-compliant home directory |
Finds the path of the executable given its name.
executableName | of the executable |
---|
Gets the home directory for an executable if its parent directory is 'bin'
executable | the executable file used to detect the home directory |
---|