Class LocationWebResult.Builder
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result.Builder
net.ygbstudio.jbrave.core.domain.dto.result.LocationWebResult.Builder
- Enclosing class:
LocationWebResult
Builder for
LocationWebResult instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull LocationWebResultbuild()Builds a newLocationWebResultfrom the current builder state.Sets the meta URL.Methods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result.Builder
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url
-
Constructor Details
-
Builder
public Builder()Creates a new builder with all fields unset.
-
-
Method Details
-
metaUrl
Sets the meta URL.- Parameters:
metaUrl- the meta URL- Returns:
- this builder
-
build
Builds a newLocationWebResultfrom the current builder state.- Overrides:
buildin classResult.Builder- Returns:
- a new
LocationWebResultinstance
-