public class IntegrationCoffeeNetAppService extends java.lang.Object implements CoffeeNetAppService
| Constructor and Description |
|---|
IntegrationCoffeeNetAppService(org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.List<CoffeeNetApp>> |
getApps()
Returns a case insensitive key map of all registered applications from the service discovery.
|
java.util.Map<java.lang.String,java.util.List<CoffeeNetApp>> |
getApps(AppQuery query)
Returns an case insensitive key map of
TreeSet filled with CoffeeNetApp that matches
the given AppQuery. |
public IntegrationCoffeeNetAppService(org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient)
public java.util.Map<java.lang.String,java.util.List<CoffeeNetApp>> getApps()
CoffeeNetAppServicegetApps in interface CoffeeNetAppServiceCoffeeNetApp as key and a list of CoffeeNetApp as valuepublic java.util.Map<java.lang.String,java.util.List<CoffeeNetApp>> getApps(AppQuery query)
CoffeeNetAppServiceTreeSet filled with CoffeeNetApp that matches
the given AppQuery. Case insensitive to find "Frontpage" if you searched for "frontPage" e.g.getApps in interface CoffeeNetAppServicequery - to filter the CoffeeNetAppsCoffeeNetApp as key and a list of CoffeeNetApp as
value