public enum ProductTemplateStatus extends Enum<ProductTemplateStatus>
Java class for ProductTemplateStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProductTemplateStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVE"/>
<enumeration value="DRAFT"/>
<enumeration value="CANCELED"/>
<enumeration value="ARCHIVED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
Product template is active, and all products it generates without status overridden
are available in product catalog.
|
ARCHIVED
No unarchived proposal should reference this template and report on it.
|
CANCELED
Product template is inactive, no product is generated.
|
DRAFT
Not used.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProductTemplateStatus |
fromValue(String v) |
String |
value() |
static ProductTemplateStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductTemplateStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductTemplateStatus ACTIVE
public static final ProductTemplateStatus DRAFT
public static final ProductTemplateStatus CANCELED
public static final ProductTemplateStatus ARCHIVED
public static final ProductTemplateStatus UNKNOWN
public static ProductTemplateStatus[] values()
for (ProductTemplateStatus c : ProductTemplateStatus.values()) System.out.println(c);
public static ProductTemplateStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ProductTemplateStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.