public class PackageMetadata
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
java.util.List<java.lang.String> |
dependencies
An array of strings, each consisting of a package identification string; this string is formatted as follows:
group:package-name
group:package-name:version
When the version is not specified, the latest is used.
|
java.lang.String |
description
A string containing any number of charters; these will be formatted as Markdown in the ProGet UI
Example: "This contains [ast distro](http://initrode-net.local/ast) files specific to ABL",
Optional
|
java.util.Map<java.lang.String,java.lang.String> |
extendedAttributes
Custom metadata key/value pairs
|
java.lang.String |
group
A string of no more than fifty characters:
numbers (0-9)
upper- and lower-case letters (a-Z)
dashes (-)
periods (.)
forward-slashes (/)
underscores (_)
may not start or end with a forward-slash
Example: initrode/vendors/abl
Required.
|
java.lang.String |
icon
A string of an absolute url pointing to an image to be displayed in the ProGet UI (at both 64px and 128px);
if package:// is used as the protocol, ProGet will search within the package and serve that image instead
Example: package://ablast.svg
Optional
|
java.lang.String |
packageName
A string of no more than fifty characters:
numbers (0-9)
upper- and lower-case letters (a-Z)
dashes (-)
periods (.)
and underscores (_)
Example: ABLast
Required.
|
java.lang.String |
title
A string of no more than fifty characters
Optional
|
java.lang.String |
version
A string consisting of three integers separated by periods (.); leading zeros are not permitted
Example: 0.0.1
Required
|
| Constructor and Description |
|---|
PackageMetadata() |
public java.lang.String group
public java.lang.String packageName
public java.lang.String version
public java.lang.String title
public java.lang.String icon
public java.lang.String description
public java.util.List<java.lang.String> dependencies
public java.util.Map<java.lang.String,java.lang.String> extendedAttributes