Package org.onosproject.core
Interface Application
- 
- All Known Implementing Classes:
 DefaultApplication
public interface ApplicationAbstraction of a network control/management application. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringcategory()Returns category of the application.Stringdescription()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.ApplicationIdid()Returns the application name id.URLimageUrl()Returns binary image URL.Stringorigin()Returns the name of the application origin, group or company.Set<Permission>permissions()Returns the permissions requested by the application.Stringreadme()Returns readme of the application.List<String>requiredApps()Returns list of required application names.ApplicationRolerole()Returns the role of the application.Stringtitle()Returns the title of the application.Stringurl()Returns url of the application.Versionversion()Returns the application version. 
 - 
 
- 
- 
Method Detail
- 
id
ApplicationId id()
Returns the application name id.- Returns:
 - application identifier
 
 
- 
version
Version version()
Returns the application version.- Returns:
 - application version
 
 
- 
title
String title()
Returns the title of the application. This should be a short, human-readable string, as opposed to the unique identifier returned byid().- Returns:
 - application title text
 
 
- 
description
String description()
Returns description of the application.- Returns:
 - application description text
 
 
- 
category
String category()
Returns category of the application. The application developer can choose one of the category from the following examples to easily discern the high-level purpose of the application. (Security, Traffic Steering, Monitoring, Drivers, Provider, Utility)- Returns:
 - application category text
 
 
- 
url
String url()
Returns url of the application.- Returns:
 - application url
 
 
- 
readme
String readme()
Returns readme of the application.- Returns:
 - application readme
 
 
- 
icon
byte[] icon()
Returns icon of the application.- Returns:
 - application icon
 
 
- 
origin
String origin()
Returns the name of the application origin, group or company.- Returns:
 - application origin
 
 
- 
role
ApplicationRole role()
Returns the role of the application.- Returns:
 - application role
 
 
- 
permissions
Set<Permission> permissions()
Returns the permissions requested by the application.- Returns:
 - requested permissions
 
 
- 
featuresRepo
Optional<URI> featuresRepo()
Returns the feature repository URI. Null value signifies that the application did not provide its own features repository.- Returns:
 - optional feature repo URL
 
 
- 
features
List<String> features()
Returns the list of features comprising the application. At least one feature must be given.- Returns:
 - application features
 
 
- 
requiredApps
List<String> requiredApps()
Returns list of required application names.- Returns:
 - list of application names
 
 
- 
imageUrl
URL imageUrl()
Returns binary image URL.- Returns:
 - URL of binary image
 
 
 - 
 
 -