Package com.adobe.cq.launches.api
Interface LaunchPromotionParameters
- All Known Subinterfaces:
ContentFragmentLaunchOperationParameters
public interface LaunchPromotionParameters
Launch promotion parameters.
-
Method Summary
Modifier and TypeMethodDescriptionGet the promotion scope, which determines which content needs to be promotedGet the resource to promote (within the launch tree)Get the resource collection (workflow package) the resource should be added toA launch can be promoted either to the production version or to one of its parent launches (if it is a nested launch).
-
Method Details
-
getResource
Resource getResource()Get the resource to promote (within the launch tree)- Returns:
- The resource to promote
-
getPromotionScope
LaunchPromotionScope getPromotionScope()Get the promotion scope, which determines which content needs to be promoted- Returns:
- The promotion scope
-
getTarget
Launch getTarget()A launch can be promoted either to the production version or to one of its parent launches (if it is a nested launch). This method returns the parent launch to be targeted by the promotion, ornullif the launch should be promoted to the production version.- Returns:
- The target launch or
null
-
getResourceCollectionPath
String getResourceCollectionPath()Get the resource collection (workflow package) the resource should be added to- Returns:
- The resource collection or
nullif not specified
-