lucee.Component
commandbox.system.endpoints.File
Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I am the file endpoint. I get packages from a local file.
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
consoleLogger
|
true
|
false
|
|
any
|
fileSystemUtil
|
true
|
false
|
|
any
|
folderEndpoint
|
true
|
false
|
|
string
|
namePrefixes
|
true
|
false
|
|
any
|
packageService
|
true
|
false
|
|
any
|
semanticVersion
|
true
|
false
|
|
any
|
tempDir
|
true
|
false
|
|
any
|
wirebox
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init()
|
|
| Method Summary | |
|---|---|
string
|
getConsoleLogger()
|
any
|
getDefaultName(string package)
Determines the name of a package based on its ID if there is no box. |
string
|
getFileSystemUtil()
|
string
|
getFolderEndpoint()
|
string
|
getNamePrefixes()
|
string
|
getPackageService()
|
string
|
getSemanticVersion()
|
string
|
getTempDir()
|
any
|
getUpdate(string package, string version, [boolean verbose='false'])
|
string
|
getWirebox()
|
string
|
resolvePackage(string package, [boolean verbose='false'])
|
any
|
setConsoleLogger(any consoleLogger)
|
any
|
setFileSystemUtil(any fileSystemUtil)
|
any
|
setFolderEndpoint(any folderEndpoint)
|
any
|
setNamePrefixes(string namePrefixes)
|
any
|
setPackageService(any packageService)
|
any
|
setSemanticVersion(any semanticVersion)
|
any
|
setTempDir(any tempDir)
|
any
|
setWirebox(any wirebox)
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
| Property Detail |
|---|
access - 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 - packageServiceserializable - trueaccess - publicrequired - falsereturntype - anyinject - provider:semanticVersion@semverserializable - trueaccess - publicrequired - falsereturntype - anyinject - tempDir@constantsserializable - trueaccess - publicrequired - falsereturntype - anyinject - wireboxserializable - true| Method Detail |
|---|
Determines the name of a package based on its ID if there is no box.json
getDefaultName
in interface
IEndpoint
package
getUpdate
in interface
IEndpoint
packageversionverbose
resolvePackage
in interface
IEndpoint
packageverboseconsoleLoggerfileSystemUtilfolderEndpointnamePrefixespackageServicesemanticVersiontempDirwirebox