public class FbsClient extends Object implements AutoCloseable
ITIP is considered and treated as a web service from which data is retrieved.
FbsElement| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<FbsElement> |
getFbsListing()
Retrieve (all) FBS data and deserializes it into a FbsElement list.
|
List<FbsElement> |
getFbsListingForCableName(String cableName)
Retrieve FBS data for cable name and deserializes it into a FbsElement list.
|
List<FbsElement> |
getFbsListingForEssName(String essName)
Retrieve FBS data for ESS name and deserializes it into a FbsElement list.
|
List<FbsElement> |
getFbsListingForId(String id)
Retrieve FBS data for id and deserializes it into a FbsElement list.
|
List<FbsElement> |
getFbsListingForTag(String tag)
Retrieve FBS data for FBS tag and deserializes it into a FbsElement list.
|
List<FbsElement> |
getFbsListingForTag(String tag,
int maxResults)
Retrieve FBS data for FBS tag and deserializes it into a FbsElement list of up to maxResults elements.
|
public FbsClient(String url)
url - base URL of FBS webservice.public void close()
close in interface AutoCloseablepublic List<FbsElement> getFbsListing()
Note no parameter.
List of all FbsElementpublic List<FbsElement> getFbsListingForCableName(String cableName)
Note
cableName - cable nameList of matching FbsElementpublic List<FbsElement> getFbsListingForEssName(String essName)
Note
essName - ESS nameList of matching FbsElementpublic List<FbsElement> getFbsListingForId(String id)
Note
tag - FBS tagList of matching FbsElementpublic List<FbsElement> getFbsListingForTag(String tag)
Note
tag - FBS tagList of matching FbsElementpublic List<FbsElement> getFbsListingForTag(String tag, int maxResults)
Note
tag - query, FBS tag partmaxResults - maximum number of resultsList of matching FbsElementCopyright © 2025 European Spallation Source. All rights reserved.