Grafeas V1 Client - Class FileLocation (1.2.1)

Reference documentation and code samples for the Grafeas V1 Client class FileLocation.

Indicates the location at which a package was found.

Generated from protobuf message grafeas.v1.FileLocation

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ file_path
string

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

↳ layer_details
LayerDetails

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

getFilePath

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

Returns
Type
Description
string

setFilePath

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLayerDetails

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

Returns
Type
Description
LayerDetails |null

hasLayerDetails

clearLayerDetails

setLayerDetails

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: