LuceneAggregateDefinition.java
1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.google.common.base.Preconditions
* com.google.common.base.Strings
* javax.annotation.Nonnull
*/
package com.adobe.granite.repository.impl.lucene.util;
import com.adobe.granite.repository.impl.lucene.util.LuceneAggregate;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import java.util.Set;
import javax.annotation.Nonnull;
public class LuceneAggregateDefinition {
private String name;
private Set<LuceneAggregate> aggregates;
public LuceneAggregateDefinition(@Nonnull String name, @Nonnull Set<LuceneAggregate> aggregates) {
Preconditions.checkArgument((boolean)(!Strings.isNullOrEmpty((String)name)));
Preconditions.checkNotNull(aggregates);
this.setName(name);
this.aggregates = aggregates;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Set<LuceneAggregate> getAggregates() {
return this.aggregates;
}
}