Package com.luciad.models.features
Class FeatureQueryTermination.Builder
java.lang.Object
com.luciad.models.features.FeatureQueryTermination.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
FeatureQueryTermination
A builder class to create a
FeatureQueryTermination.- Since:
- 2026.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newly createdFeatureQueryTermination, based on the properties set on this builder.voidclose()protected voidfinalize()Sets the reason for the termination of the query.
-
Constructor Details
-
Builder
Copy constructor.- Parameters:
other- the builder to copy.
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
reason
@NotNull public FeatureQueryTermination.Builder reason(@NotNull FeatureQueryTermination.ReasonType reason) Sets the reason for the termination of the query.Calling this function is mandatory.
- Parameters:
reason- the reason.- Returns:
- this builder.
-
build
Returns a newly createdFeatureQueryTermination, based on the properties set on this builder.- Returns:
- a newly created
FeatureQueryTermination. - Throws:
IllegalStateException- if not all mandatory values are set.
-