commandbox.system.endpoints

Class CFLib

lucee.Component
    extended by commandbox.system.endpoints.CFLib
All Implemented Interfaces:
IEndpoint
Direct Known Subclasses:
CFLib-ColdBox

Copyright Since 2015 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I am the CFLIb endpoint. I get packages from CFblib.org based on their slug. install cflib:UDFName

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
  • author : Brad Wood, Luis Majano, Denny Valliant, Ben Koshy
  •  
    Property Summary
    type property default serializable required
    any CR


    • access = public
    • returntype = any
    • inject = CR@constants
    true false
    any consoleLogger


    • access = public
    • returntype = any
    • inject = logbox:logger:console
    true false
    string namePrefixes


    • access = public
    • returntype = any
    true false
    any progressBar


    • access = public
    • returntype = any
    • inject = ProgressBar
    true false
    any progressableDownloader


    • access = public
    • returntype = any
    • inject = ProgressableDownloader
    true false
    any tempDir


    • access = public
    • returntype = any
    • inject = tempDir@constants
    true false
    any wirebox


    • access = public
    • returntype = any
    • inject = wirebox
    true false
    Constructor Summary
    init()
    Method Summary
    private any fixTags(string fileName)
    string getCR()
    string getConsoleLogger()
    any getDefaultName(string package)
    string getNamePrefixes()
    string getProgressBar()
    string getProgressableDownloader()
    string getTempDir()
    any getUpdate(string package, string version, [boolean verbose='false'])
    string getWirebox()
    string resolvePackage(string package, [boolean verbose='false'])
    any setCR(any CR)
    any setConsoleLogger(any consoleLogger)
    any setNamePrefixes(string namePrefixes)
    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

    init

    public init()


    Property Detail

    CR

    property any CR

    Attributes:
    access - public
    required - false
    returntype - any
    inject - CR@constants
    serializable - true

    consoleLogger

    property any consoleLogger

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:console
    serializable - true

    namePrefixes

    property string namePrefixes

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    progressBar

    property any progressBar

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ProgressBar
    serializable - true

    progressableDownloader

    property any progressableDownloader

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ProgressableDownloader
    serializable - true

    tempDir

    property any tempDir

    Attributes:
    access - public
    required - false
    returntype - any
    inject - tempDir@constants
    serializable - true

    wirebox

    property any wirebox

    Attributes:
    access - public
    required - false
    returntype - any
    inject - wirebox
    serializable - true

    Method Detail

    fixTags

    private any fixTags(string fileName)

    Parameters:
    fileName

    getCR

    public string getCR()


    getConsoleLogger

    public string getConsoleLogger()


    getDefaultName

    public any getDefaultName(string package)

    Specified by:
    getDefaultName in interface IEndpoint
    Parameters:
    package

    getNamePrefixes

    public string getNamePrefixes()


    getProgressBar

    public string getProgressBar()


    getProgressableDownloader

    public string getProgressableDownloader()


    getTempDir

    public string getTempDir()


    getUpdate

    public any getUpdate(string package, string version, [boolean verbose='false'])

    Specified by:
    getUpdate in interface IEndpoint
    Parameters:
    package
    version
    verbose

    getWirebox

    public string getWirebox()


    resolvePackage

    public string resolvePackage(string package, [boolean verbose='false'])

    Specified by:
    resolvePackage in interface IEndpoint
    Parameters:
    package
    verbose

    setCR

    public any setCR(any CR)

    Parameters:
    CR

    setConsoleLogger

    public any setConsoleLogger(any consoleLogger)

    Parameters:
    consoleLogger

    setNamePrefixes

    public any setNamePrefixes(string namePrefixes)

    Parameters:
    namePrefixes

    setProgressBar

    public any setProgressBar(any progressBar)

    Parameters:
    progressBar

    setProgressableDownloader

    public any setProgressableDownloader(any progressableDownloader)

    Parameters:
    progressableDownloader

    setTempDir

    public any setTempDir(any tempDir)

    Parameters:
    tempDir

    setWirebox

    public any setWirebox(any wirebox)

    Parameters:
    wirebox