public final class DefaultApplicationDescription extends java.lang.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.
|
java.lang.String |
category()
Returns category of the application.
|
java.lang.String |
description()
Returns description of the application.
|
java.util.List<java.lang.String> |
features()
Returns the list of features comprising the application.
|
java.util.Optional<java.net.URI> |
featuresRepo()
Returns the feature repository URI.
|
byte[] |
icon()
Returns icon of the application.
|
java.lang.String |
name()
Returns the application name id.
|
java.lang.String |
origin()
Returns the name of the application origin, group or company.
|
java.util.Set<Permission> |
permissions()
Returns the permissions requested by the application.
|
java.lang.String |
readme()
Returns readme of the application.
|
java.util.List<java.lang.String> |
requiredApps()
Returns list of required application names.
|
ApplicationRole |
role()
Returns the role of the application.
|
java.lang.String |
title()
Returns title of the application.
|
java.lang.String |
toString() |
java.lang.String |
url()
Returns url of the application.
|
Version |
version()
Returns the application version.
|
public java.lang.String name()
ApplicationDescription
name
in interface ApplicationDescription
public Version version()
ApplicationDescription
version
in interface ApplicationDescription
public java.lang.String title()
ApplicationDescription
title
in interface ApplicationDescription
public java.lang.String description()
ApplicationDescription
description
in interface ApplicationDescription
public java.lang.String category()
ApplicationDescription
category
in interface ApplicationDescription
public java.lang.String url()
ApplicationDescription
url
in interface ApplicationDescription
public java.lang.String readme()
ApplicationDescription
readme
in interface ApplicationDescription
public byte[] icon()
ApplicationDescription
icon
in interface ApplicationDescription
public java.lang.String origin()
ApplicationDescription
origin
in interface ApplicationDescription
public ApplicationRole role()
ApplicationDescription
role
in interface ApplicationDescription
public java.util.Set<Permission> permissions()
ApplicationDescription
permissions
in interface ApplicationDescription
public java.util.Optional<java.net.URI> featuresRepo()
ApplicationDescription
featuresRepo
in interface ApplicationDescription
public java.util.List<java.lang.String> features()
ApplicationDescription
features
in interface ApplicationDescription
public java.util.List<java.lang.String> requiredApps()
ApplicationDescription
requiredApps
in interface ApplicationDescription
public java.lang.String toString()
toString
in class java.lang.Object
public static DefaultApplicationDescription.Builder builder()