use of org.platformlayer.common.UntypedItem in project platformlayer by platformlayer.
the class ListItems method formatRaw.
@Override
public void formatRaw(Object o, PrintWriter writer) {
Ansi ansi = new Ansi(writer);
Iterable<UntypedItem> items = (Iterable<UntypedItem>) o;
for (UntypedItem item : items) {
UntypedItemFormatter.formatItem(item, ansi, false);
}
ansi.reset();
}
use of org.platformlayer.common.UntypedItem in project platformlayer by platformlayer.
the class FederatedPlatformLayerClient method getItemUntyped.
@Override
public UntypedItem getItemUntyped(PlatformLayerKey key, Format format) throws PlatformLayerClientException {
MappedPlatformLayerKey mapped = mapToChild(key);
UntypedItem item = mapped.child.client.getItemUntyped(key);
return mapped.child.setHost(item);
}
Aggregations