lucee.Componentcommandbox.system.endpoints.Java
Copyright Since 2014 CommandBox by Ortus Solutions, Corp
www.coldbox.org | www.ortussolutions.com
I am the Java endpoint. I interact with the AdoptOpenJDK API to get OpenJDK builds.
I will spoof a package around the download so CommandBox doesn't try to unzip the JRE itself.
Endpoint IDs are the in the format
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
CR
|
true
|
false
|
|
any
|
ConfigService
|
true
|
false
|
|
any
|
JSONService
|
true
|
false
|
|
any
|
PackageService
|
true
|
false
|
|
any
|
artifactService
|
true
|
false
|
|
any
|
consoleLogger
|
true
|
false
|
|
any
|
filesystemUtil
|
true
|
false
|
|
any
|
folderEndpoint
|
true
|
false
|
|
string
|
namePrefixes
|
true
|
false
|
|
any
|
progressBar
|
true
|
false
|
|
any
|
progressableDownloader
|
true
|
false
|
|
any
|
tempDir
|
true
|
false
|
|
any
|
wirebox
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
string
|
getArtifactService()
|
string
|
getCR()
|
string
|
getConfigService()
|
string
|
getConsoleLogger()
|
any
|
getDefaultName(string package)
|
any
|
getDefaultNameFromStruct(struct javaDetails)
|
string
|
getFilesystemUtil()
|
string
|
getFolderEndpoint()
|
string
|
getJSONService()
|
string
|
getNamePrefixes()
|
string
|
getPackageService()
|
string
|
getProgressBar()
|
string
|
getProgressableDownloader()
|
string
|
getTempDir()
|
any
|
getUpdate(string package, string version, [boolean verbose='false'])
|
string
|
getWirebox()
|
any
|
parseDetails(string ID)
Take a string like OpenJDK8_jre_x64_windows_hotspot_8u181b13. |
string
|
resolvePackage(string package, [boolean verbose='false'])
|
any
|
serveFromArtifacts([any package], [any version], [any lockVersion])
|
any
|
setArtifactService(any artifactService)
|
any
|
setCR(any CR)
|
any
|
setConfigService(any ConfigService)
|
any
|
setConsoleLogger(any consoleLogger)
|
any
|
setFilesystemUtil(any filesystemUtil)
|
any
|
setFolderEndpoint(any folderEndpoint)
|
any
|
setJSONService(any JSONService)
|
any
|
setNamePrefixes(string namePrefixes)
|
any
|
setPackageService(any PackageService)
|
any
|
setProgressBar(any progressBar)
|
any
|
setProgressableDownloader(any progressableDownloader)
|
any
|
setTempDir(any tempDir)
|
any
|
setWirebox(any wirebox)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- CR@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ConfigServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- JSONServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- packageServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- artifactServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- logbox:logger:consoleserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- fileSystemserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- commandbox.system.endpoints.Folderserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ProgressBarserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ProgressableDownloaderserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- tempDir@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- wireboxserializable
- trueMethod Detail |
---|
getDefaultName
in interface
IEndpoint
package
javaDetails
getUpdate
in interface
IEndpoint
package
version
verbose
Take a string like OpenJDK8_jre_x64_windows_hotspot_8u181b13 and parse out all the details
ID
resolvePackage
in interface
IEndpoint
package
verbose
package
version
lockVersion
artifactService
CR
ConfigService
consoleLogger
filesystemUtil
folderEndpoint
JSONService
namePrefixes
PackageService
progressBar
progressableDownloader
tempDir
wirebox