LuceneAggregateInclude.java
1.36 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
41
42
43
44
45
46
47
48
49
50
/*
* 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.google.common.base.Preconditions;
import com.google.common.base.Strings;
import javax.annotation.Nonnull;
public class LuceneAggregateInclude {
private String nodeName;
private String path;
private String primaryType;
private boolean relativeNode;
public LuceneAggregateInclude(@Nonnull String nodeName, @Nonnull String path) {
this(nodeName, path, false, null);
}
public LuceneAggregateInclude(@Nonnull String nodeName, @Nonnull String path, boolean relativeNode, String primaryType) {
Preconditions.checkArgument((boolean)(!Strings.isNullOrEmpty((String)nodeName)));
Preconditions.checkArgument((boolean)(!Strings.isNullOrEmpty((String)path)));
this.nodeName = nodeName;
this.path = path;
this.relativeNode = relativeNode;
this.primaryType = primaryType;
}
public boolean isRelativeNode() {
return this.relativeNode;
}
public String getPath() {
return this.path;
}
public String getPrimaryType() {
return this.primaryType;
}
public String getNodeName() {
return this.nodeName;
}
}