Class StrategyImplementationSpecifications
java.lang.Object
com.bluebell.greenhouse.radicle.specifications.strategy.StrategyImplementationSpecifications
Specification definitions for StrategyImplementation search filters.- Version:
- 2.0.5
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.data.jpa.domain.Specification<StrategyImplementation> hasImplementationType(StrategyImplementationType implementationType) Filters by implementation type.static org.springframework.data.jpa.domain.Specification<StrategyImplementation> hasStrategy(Strategy strategy) Filters by owningStrategy.static org.springframework.data.jpa.domain.Specification<StrategyImplementation> Filters by active state.static org.springframework.data.jpa.domain.Specification<StrategyImplementation> matchesQuery(String query) Filters by a free-text query across the strategy implementation file reference, type, and parent strategy metadata.
-
Method Details
-
hasStrategy
public static org.springframework.data.jpa.domain.Specification<StrategyImplementation> hasStrategy(Strategy strategy) Filters by owningStrategy.- Parameters:
strategy- owning strategy filter- Returns:
Specification
-
isActive
public static org.springframework.data.jpa.domain.Specification<StrategyImplementation> isActive(Boolean active) Filters by active state.- Parameters:
active- active-state filter- Returns:
Specification
-
hasImplementationType
public static org.springframework.data.jpa.domain.Specification<StrategyImplementation> hasImplementationType(StrategyImplementationType implementationType) Filters by implementation type.- Parameters:
implementationType- implementation type filter- Returns:
Specification
-
matchesQuery
public static org.springframework.data.jpa.domain.Specification<StrategyImplementation> matchesQuery(String query) Filters by a free-text query across the strategy implementation file reference, type, and parent strategy metadata.- Parameters:
query- free-text query- Returns:
Specification
-