Interface KeyList.KeysFormat<T>
-
- Type Parameters:
T
- Format output type
- Enclosing class:
- KeyList
public static interface KeyList.KeysFormat<T>
Key output format, e.g. JSON or HTML.- Since:
- 0.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(com.artipie.asto.Key item, boolean parent)
Add and accumulate item.T
result()
Build formatted output.
-
-
-
Method Detail
-
add
void add(com.artipie.asto.Key item, boolean parent)
Add and accumulate item.- Parameters:
item
- Key itemparent
- True if item is a parent of another item
-
result
T result()
Build formatted output.- Returns:
- Formatted output
-
-