com.atlassian.plugins.rest.common.expand
Class EntityCrawler

java.lang.Object
  extended by com.atlassian.plugins.rest.common.expand.EntityCrawler

public class EntityCrawler
extends java.lang.Object

This allows for crawling the fields of any arbitrary object, looking for fields that should be expanded.


Constructor Summary
EntityCrawler()
           
 
Method Summary
 void crawl(java.lang.Object entity, ExpandParameter expandParameter, EntityExpanderResolver expanderResolver)
          Crawls an entity for fields that should be expanded and expands them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityCrawler

public EntityCrawler()
Method Detail

crawl

public void crawl(java.lang.Object entity,
                  ExpandParameter expandParameter,
                  EntityExpanderResolver expanderResolver)
Crawls an entity for fields that should be expanded and expands them.

Parameters:
entity - the object to crawl, can be null.
expandParameter - the parameters to match for expansion
expanderResolver - the resolver to lookup EntityExpander for fields to be expanded.


Copyright © 2014 Atlassian. All Rights Reserved.