Class Breadcrumb
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Breadcrumb
Breadcrumb
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Breadcrumb(String label, String url, String separator) Constructs a validated instance ofBreadcrumb.Breadcrumb(Consumer<Breadcrumb> spec) Constructs a validated instance ofBreadcrumb. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetLabel()Gets the value of label.Gets the value of separator.getUrl()Gets the value of url.inthashCode()label()Fluent getter for label.Fluent setter for label.Fluent getter for separator.Fluent setter for separator.voidSets the value of label.voidsetSeparator(String separator) Sets the value of separator.voidSets the value of url.toString()url()Fluent getter for url.Fluent setter for url.
-
Field Details
-
label
-
url
-
separator
-
-
Constructor Details
-
Breadcrumb
Constructs a validated instance ofBreadcrumb.- Parameters:
spec- the specification to process
-
Breadcrumb
@Internal protected Breadcrumb()Protected no-args constructor for use by serialization frameworks. -
Breadcrumb
Constructs a validated instance ofBreadcrumb.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Breadcrumb(Consumer)instead.- Parameters:
label- labelurl- urlseparator- separator
-
-
Method Details
-
label
-
label
Fluent setter for label.- Parameters:
label- label- Returns:
- this
-
getLabel
-
setLabel
-
url
-
url
-
getUrl
-
setUrl
-
separator
-
separator
Fluent setter for separator.- Parameters:
separator- separator- Returns:
- this
-
getSeparator
-
setSeparator
Sets the value of separator.- Parameters:
separator- separator
-
equals
-
hashCode
-
toString
-