Package com.adobe.cq.launches.api
Interface LaunchPromotionParameters
-
public interface LaunchPromotionParameters
Launch promotion parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchPromotionScope
getPromotionScope()
Get the promotion scope, which determines which content needs to be promotedResource
getResource()
Get the resource to promote (within the launch tree)java.lang.String
getResourceCollectionPath()
Get the resource collection (workflow package) the resource should be added toLaunch
getTarget()
A launch can be promoted either to the production version or to one of its parent launches (if it is a nested launch).
-
-
-
Method Detail
-
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, ornull
if the launch should be promoted to the production version.- Returns:
- The target launch or
null
-
getResourceCollectionPath
java.lang.String getResourceCollectionPath()
Get the resource collection (workflow package) the resource should be added to- Returns:
- The resource collection or
null
if not specified
-
-