public static final class DefaultApplicationDescription.Builder extends Object
Constructor and Description |
---|
Builder()
Default constructor for the builder.
|
public DefaultApplicationDescription.Builder withName(String name)
name
- application namepublic DefaultApplicationDescription.Builder withVersion(Version version)
version
- version stringpublic DefaultApplicationDescription.Builder withTitle(String title)
title
- title stringpublic DefaultApplicationDescription.Builder withDescription(String description)
description
- description stringpublic DefaultApplicationDescription.Builder withCategory(String category)
category
- category stringpublic DefaultApplicationDescription.Builder withUrl(String url)
url
- url stringpublic DefaultApplicationDescription.Builder withReadme(String readme)
readme
- readme stringpublic DefaultApplicationDescription.Builder withIcon(byte[] icon)
icon
- icon datapublic DefaultApplicationDescription.Builder withOrigin(String origin)
origin
- origin stringpublic DefaultApplicationDescription.Builder withRole(ApplicationRole role)
role
- application rolepublic DefaultApplicationDescription.Builder withPermissions(Set<Permission> permissions)
permissions
- permissions setpublic DefaultApplicationDescription.Builder withFeaturesRepo(URI featuresRepo)
featuresRepo
- Optional URI for a features repositorypublic DefaultApplicationDescription.Builder withFeatures(List<String> features)
features
- features listpublic DefaultApplicationDescription.Builder withRequiredApps(List<String> requiredApps)
requiredApps
- List of name strings of required applicationspublic DefaultApplicationDescription build()