AbstractLaunchPromotionParameters.java 1.19 KB
/*
 * 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));
    }
}