Class RelationQuery.Builder<R extends RelatableEntity>
- java.lang.Object
-
- com.atlassian.confluence.internal.relations.query.RelationQuery.Builder<R>
-
- Enclosing class:
- RelationQuery<E extends RelatableEntity>
public static class RelationQuery.Builder<R extends RelatableEntity> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(@NonNull R entity, @NonNull RelationDescriptor<?,?> relationDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationQuery<R>
build()
RelationQuery.Builder
contentTypeFilters(@Nullable Set<RelatableEntityTypeEnum> contentTypeFilters)
RelationQuery.Builder
entity(@NonNull R entity)
RelationQuery.Builder
includeDeleted(boolean includeDeleted)
RelationQuery.Builder
relation(@NonNull RelationDescriptor<?,?> relationDescriptor)
RelationQuery.Builder
spaceKeysFilter(@Nullable Set<String> spaceKeysFilter)
RelationQuery.Builder
spaceStatusesFilter(@Nullable Set<SpaceStatus> spaceStatusesFilter)
-
-
-
Constructor Detail
-
Builder
public Builder(@NonNull R entity, @NonNull RelationDescriptor<?,?> relationDescriptor)
-
-
Method Detail
-
entity
public RelationQuery.Builder entity(@NonNull R entity)
-
relation
public RelationQuery.Builder relation(@NonNull RelationDescriptor<?,?> relationDescriptor)
-
spaceKeysFilter
public RelationQuery.Builder spaceKeysFilter(@Nullable Set<String> spaceKeysFilter)
-
contentTypeFilters
public RelationQuery.Builder contentTypeFilters(@Nullable Set<RelatableEntityTypeEnum> contentTypeFilters)
-
spaceStatusesFilter
public RelationQuery.Builder spaceStatusesFilter(@Nullable Set<SpaceStatus> spaceStatusesFilter)
-
includeDeleted
public RelationQuery.Builder includeDeleted(boolean includeDeleted)
-
build
public RelationQuery<R> build()
-
-