commandbox.system.endpoints

Class Jar

lucee.Component
    extended by commandbox.system.endpoints.Jar
All Implemented Interfaces:
IEndpoint

Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I am the Jar endpoint. I get bare jar files from an HTTP URL. I will spoof a package around the jar so CommandBox doesn't try to unzip the jar itself.

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


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


    • access = public
    • returntype = any
    • inject = JSONService
    true false
    any S3Service


    • access = public
    • returntype = any
    • inject = S3Service
    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
    string getCR()
    string getConsoleLogger()
    any getDefaultName(string package)
    string getJSONService()
    string getNamePrefixes()
    string getProgressBar()
    string getProgressableDownloader()
    string getS3Service()
    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 setJSONService(any JSONService)
    any setNamePrefixes(string namePrefixes)
    any setProgressBar(any progressBar)
    any setProgressableDownloader(any progressableDownloader)
    any setS3Service(any S3Service)
    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

    JSONService

    property any JSONService

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

    S3Service

    property any S3Service

    Attributes:
    access - public
    required - false
    returntype - any
    inject - S3Service
    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

    getCR

    public string getCR()


    getConsoleLogger

    public string getConsoleLogger()


    getDefaultName

    public any getDefaultName(string package)

    Specified by:
    getDefaultName in interface IEndpoint
    Parameters:
    package

    getJSONService

    public string getJSONService()


    getNamePrefixes

    public string getNamePrefixes()


    getProgressBar

    public string getProgressBar()


    getProgressableDownloader

    public string getProgressableDownloader()


    getS3Service

    public string getS3Service()


    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

    setJSONService

    public any setJSONService(any JSONService)

    Parameters:
    JSONService

    setNamePrefixes

    public any setNamePrefixes(string namePrefixes)

    Parameters:
    namePrefixes

    setProgressBar

    public any setProgressBar(any progressBar)

    Parameters:
    progressBar

    setProgressableDownloader

    public any setProgressableDownloader(any progressableDownloader)

    Parameters:
    progressableDownloader

    setS3Service

    public any setS3Service(any S3Service)

    Parameters:
    S3Service

    setTempDir

    public any setTempDir(any tempDir)

    Parameters:
    tempDir

    setWirebox

    public any setWirebox(any wirebox)

    Parameters:
    wirebox