lib/liberty_buildpack/framework/contrast_security_agent.rb
def process_config
      begin
        @version, @uri = LibertyBuildpack::Repository::ConfiguredItem.find_item(@configuration)
      rescue => e
        @logger.error("Unable to process the configuration for the Contrast Security Agent framework. #{e.message}")
      end

      @version.nil? ? nil : version_identifier
    end
#-----------------------------------------------------------------------------------------
# Processes the contrast security configuration to obtain the corresponding version and uri of the
# contrast security agent jar in the repository root. If the configuration can be processed and the
# uri contains a valid contrast security agent jar name, the versioned ID is returned and configuration
# data is initialized.
#
# @return [String] the contrast security version ID
#------------------------------------------------------------------------------------------
Processes the contrast security configuration to obtain the corresponding version and uri of the
contrast security agent jar in the repository root. If the configuration can be processed and the
uri contains a valid contrast security agent jar name, the versioned ID is returned and configuration
data is initialized.
Processes the contrast security configuration to obtain the corresponding version and uri of the contrast security agent jar in the repository root . If the configuration can be processed and the uri contains a valid contrast security agent jar name the versioned ID is returned and configuration data is initialized .
def process_config
      begin
        @version, @uri = LibertyBuildpack::Repository::ConfiguredItem.find_item(@configuration)
      rescue => e
        @logger.error("Unable to process the configuration for the Contrast Security Agent framework. #{e.message}")
      end
      @version.nil? ? nil : version_identifier
    end
def process_config begin @version , @uri = LibertyBuildpack :: Repository :: ConfiguredItem . find_item ( @configuration ) rescue => e @logger . error ( "Unable to process the configuration for the Contrast Security Agent framework. #{e.message}" ) end @version . nil? ? nil : version_identifier end
Processes the contrast security configuration to obtain the corresponding version and uri of the
contrast security agent jar in the repository root.
Processes the contrast security configuration to obtain the corresponding version and uri of the contrast security agent jar in the repository root .
the contrast security version ID
the contrast security version ID
String