Package com.adobe.cq.launches.api
Enum LaunchPromotionScope
- java.lang.Object
-
- java.lang.Enum<LaunchPromotionScope>
-
- com.adobe.cq.launches.api.LaunchPromotionScope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LaunchPromotionScope>
public enum LaunchPromotionScope extends java.lang.Enum<LaunchPromotionScope>
Launch promotion scope.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
Get the launch promotion scope valuestatic LaunchPromotionScope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LaunchPromotionScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final LaunchPromotionScope FULL
Promote full launch
-
SMART
public static final LaunchPromotionScope SMART
Promote all changed resources in the launch
-
RESOURCE
public static final LaunchPromotionScope RESOURCE
Promote resource
-
DEEP
public static final LaunchPromotionScope DEEP
Promote resource and all its children
-
APPROVED
public static final LaunchPromotionScope APPROVED
Promotes full launch with approved pages
-
-
Method Detail
-
values
public static LaunchPromotionScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LaunchPromotionScope c : LaunchPromotionScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LaunchPromotionScope valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
Get the launch promotion scope value- Returns:
- The launch promotion scope value
-
-