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    * @see SelfExpandingExpander
10   * @since   v1.0.7
11   * @author  Erik van Zijst
12   */
13  public interface SelfExpanding
14  {
15      /**
16       * Instructs the self-expanding rest data entity to expand itself.
17       */
18      void expand();
19  }