public final class DefaultApplicationDescription extends Object implements ApplicationDescription
Modifier and Type | Class and Description |
---|---|
static class |
DefaultApplicationDescription.Builder
Default application description builder.
|
Modifier and Type | Method and Description |
---|---|
static DefaultApplicationDescription.Builder |
builder()
Returns a default application description builder.
|
String |
category()
Returns category of the application.
|
String |
description()
Returns description of the application.
|
List<String> |
features()
Returns the list of features comprising the application.
|
Optional<URI> |
featuresRepo()
Returns the feature repository URI.
|
byte[] |
icon()
Returns icon of the application.
|
String |
name()
Returns the application name id.
|
String |
origin()
Returns the name of the application origin, group or company.
|
Set<Permission> |
permissions()
Returns the permissions requested by the application.
|
String |
readme()
Returns readme of the application.
|
List<String> |
requiredApps()
Returns list of required application names.
|
ApplicationRole |
role()
Returns the role of the application.
|
String |
title()
Returns title of the application.
|
String |
toString() |
String |
url()
Returns url of the application.
|
Version |
version()
Returns the application version.
|
public String name()
ApplicationDescription
name
in interface ApplicationDescription
public Version version()
ApplicationDescription
version
in interface ApplicationDescription
public String title()
ApplicationDescription
title
in interface ApplicationDescription
public String description()
ApplicationDescription
description
in interface ApplicationDescription
public String category()
ApplicationDescription
category
in interface ApplicationDescription
public String url()
ApplicationDescription
url
in interface ApplicationDescription
public String readme()
ApplicationDescription
readme
in interface ApplicationDescription
public byte[] icon()
ApplicationDescription
icon
in interface ApplicationDescription
public String origin()
ApplicationDescription
origin
in interface ApplicationDescription
public ApplicationRole role()
ApplicationDescription
role
in interface ApplicationDescription
public Set<Permission> permissions()
ApplicationDescription
permissions
in interface ApplicationDescription
public Optional<URI> featuresRepo()
ApplicationDescription
featuresRepo
in interface ApplicationDescription
public List<String> features()
ApplicationDescription
features
in interface ApplicationDescription
public List<String> requiredApps()
ApplicationDescription
requiredApps
in interface ApplicationDescription
public static DefaultApplicationDescription.Builder builder()