public enum WebpageConditionOperand extends Enum<WebpageConditionOperand>
Java class for WebpageConditionOperand.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WebpageConditionOperand">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="URL"/>
<enumeration value="CATEGORY"/>
<enumeration value="PAGE_TITLE"/>
<enumeration value="PAGE_CONTENT"/>
<enumeration value="CUSTOM_LABEL"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CATEGORY
Operand denoting a webpage category targeting condition.
|
CUSTOM_LABEL
Operand denoting a webpage custom label targeting condition.
The operator WebpageConditionOperator.EQUALS will be used for such conditions. |
PAGE_CONTENT
Operand denoting a webpage content targeting condition.
|
PAGE_TITLE
Operand denoting a webpage title targeting condition.
|
UNKNOWN
Used for return value only.
|
URL
Operand denoting a webpage URL targeting condition.
|
| Modifier and Type | Method and Description |
|---|---|
static WebpageConditionOperand |
fromValue(String v) |
String |
value() |
static WebpageConditionOperand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebpageConditionOperand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebpageConditionOperand URL
WebpageConditionOperator.CONTAINS and WebpageConditionOperator.EQUALS
are supported for such conditions.public static final WebpageConditionOperand CATEGORY
WebpageConditionOperator.EQUALS will be used for
such conditions.public static final WebpageConditionOperand PAGE_TITLE
WebpageConditionOperator.CONTAINS will be used for
such conditions.public static final WebpageConditionOperand PAGE_CONTENT
WebpageConditionOperator.CONTAINS will be used for
such conditions.public static final WebpageConditionOperand CUSTOM_LABEL
WebpageConditionOperator.EQUALS will be used for such conditions.public static final WebpageConditionOperand UNKNOWN
public static WebpageConditionOperand[] values()
for (WebpageConditionOperand c : WebpageConditionOperand.values()) System.out.println(c);
public static WebpageConditionOperand 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 WebpageConditionOperand fromValue(String v)
Copyright © 2023. All rights reserved.