View Javadoc

1   package com.atlassian.plugins.rest.common.expand;
2   
3   import java.util.List;
4   
5   /**
6    * A plugin point which can supply additional expands to be returned in the expand string when rendering the object.
7    * To use this plugin point define a class implementing this interface, and publish it as an OSGi service in your plugin.
8    */
9   public interface AdditionalExpandsProvider<T> {
10      List<String> getAdditionalExpands(T entity);
11  
12      Class<T> getSupportedType();
13  }