View Javadoc

1   package com.atlassian.plugins.rest.common.expand;
2   
3   /**
4    * Represents a JAXB rest data object that is expandable and is capable of
5    * expanding itself. It does not need an accompanying
6    * {@link com.atlassian.plugins.rest.common.expand.EntityExpander} but instead
7    * can be expanded by the generic {@link SelfExpandingExpander}.
8    *
9    * @author Erik van Zijst
10   * @see SelfExpandingExpander
11   * @since v1.0.7
12   */
13  public interface SelfExpanding {
14      /**
15       * Instructs the self-expanding rest data entity to expand itself.
16       */
17      void expand();
18  }