public interface QueryTarget
sealed class QueryTarget {
data class BuildQueryTarget(val buildTarget: BuildTarget) : QueryTarget()
data class QueryFileTarget(val path: SourcePath) : QueryTarget()
}
Implementors of this class MUST provide their own implementation of Object.toString() so that compare(QueryTarget, QueryTarget) works as expected.
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(QueryTarget a,
QueryTarget b)
Compare
QueryTargets by their Object.toString() methods. |
static int compare(QueryTarget a, QueryTarget b)
QueryTargets by their Object.toString() methods.