Package sonia.scm.api.v2.resources
Interface HalAppender.LinkArrayBuilder
- Enclosing interface:
- HalAppender
public static interface HalAppender.LinkArrayBuilder
Builder for link arrays.
-
Method Summary
Modifier and TypeMethodDescriptionAppend a link to the array.void
build()
Builds the array and appends the it to the json response.
-
Method Details
-
append
Append a link to the array.- Parameters:
name
- name of linkhref
- link target- Returns:
this
-
build
void build()Builds the array and appends the it to the json response.
-