AbstractLaunchPromotionParameters.java
1.19 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.adobe.cq.launches.api.Launch
* com.adobe.cq.launches.api.LaunchPromotionParameters
* com.adobe.cq.launches.api.LaunchPromotionScope
* org.apache.sling.api.resource.Resource
*/
package com.adobe.cq.wcm.launches.impl;
import com.adobe.cq.launches.api.Launch;
import com.adobe.cq.launches.api.LaunchPromotionParameters;
import com.adobe.cq.launches.api.LaunchPromotionScope;
import org.apache.sling.api.resource.Resource;
public abstract class AbstractLaunchPromotionParameters
implements LaunchPromotionParameters {
protected Launch launch;
protected Resource resource;
protected LaunchPromotionScope promotionScope;
protected Launch target;
public final Resource getResource() {
return this.resource;
}
public final LaunchPromotionScope getPromotionScope() {
return this.promotionScope;
}
public final Launch getTarget() {
return this.target;
}
public final boolean isDeep() {
return this.launch.isDeep() && (this.promotionScope.equals((Object)LaunchPromotionScope.FULL) || this.promotionScope.equals((Object)LaunchPromotionScope.DEEP));
}
}