AutomaticLaunchPromotionParameters.java 1017 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.cq.launches.api.Launch
 *  com.adobe.cq.launches.api.LaunchException
 *  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.LaunchException;
import com.adobe.cq.launches.api.LaunchPromotionScope;
import com.adobe.cq.wcm.launches.impl.AbstractLaunchPromotionParameters;
import org.apache.sling.api.resource.Resource;

public class AutomaticLaunchPromotionParameters
extends AbstractLaunchPromotionParameters {
    public AutomaticLaunchPromotionParameters(Launch launch, LaunchPromotionScope promotionScope) throws LaunchException {
        this.launch = launch;
        this.resource = launch.getResource();
        this.promotionScope = promotionScope;
        this.target = null;
    }

    public String getResourceCollectionPath() {
        return null;
    }
}