123 строки
9.1 KiB
YAML
123 строки
9.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector"
|
|
name: "RouterWorkerStateSelector"
|
|
nameWithType: "RouterWorkerStateSelector"
|
|
summary: "Enums used to filters workers by state."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.getValue()?alt=com.azure.core.util.ExpandableStringEnum.getValue&text=getValue\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **RouterWorkerStateSelector**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerStateSelector&text=RouterWorkerStateSelector\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.RouterWorkerStateSelector()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.RouterWorkerStateSelector()"
|
|
name: "RouterWorkerStateSelector()"
|
|
nameWithType: "RouterWorkerStateSelector.RouterWorkerStateSelector()"
|
|
summary: "Creates a new instance of Router<wbr>Worker<wbr>State<wbr>Selector value."
|
|
deprecatedTag: "Use the <xref uid=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
|
|
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public RouterWorkerStateSelector()"
|
|
desc: "Creates a new instance of RouterWorkerStateSelector value."
|
|
hasDeprecatedTag: true
|
|
fields:
|
|
- uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.ACTIVE"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.ACTIVE"
|
|
name: "ACTIVE"
|
|
nameWithType: "RouterWorkerStateSelector.ACTIVE"
|
|
summary: "Worker is active and available to take offers."
|
|
modifiers:
|
|
- "static"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerStateSelector&text=RouterWorkerStateSelector\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static final RouterWorkerStateSelector ACTIVE"
|
|
desc: "Worker is active and available to take offers."
|
|
- uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.ALL"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.ALL"
|
|
name: "ALL"
|
|
nameWithType: "RouterWorkerStateSelector.ALL"
|
|
summary: "Worker is active or draining or inactive."
|
|
modifiers:
|
|
- "static"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerStateSelector&text=RouterWorkerStateSelector\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static final RouterWorkerStateSelector ALL"
|
|
desc: "Worker is active or draining or inactive."
|
|
- uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.DRAINING"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.DRAINING"
|
|
name: "DRAINING"
|
|
nameWithType: "RouterWorkerStateSelector.DRAINING"
|
|
summary: "Worker is not active, if there are existing offers they are being revoked."
|
|
modifiers:
|
|
- "static"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerStateSelector&text=RouterWorkerStateSelector\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static final RouterWorkerStateSelector DRAINING"
|
|
desc: "Worker is not active, if there are existing offers they are being revoked. No new offers are sent."
|
|
- uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.INACTIVE"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.INACTIVE"
|
|
name: "INACTIVE"
|
|
nameWithType: "RouterWorkerStateSelector.INACTIVE"
|
|
summary: "Worker is not active."
|
|
modifiers:
|
|
- "static"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerStateSelector&text=RouterWorkerStateSelector\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static final RouterWorkerStateSelector INACTIVE"
|
|
desc: "Worker is not active. No new offers are sent."
|
|
methods:
|
|
- uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.fromString(java.lang.String)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.fromString(String name)"
|
|
name: "fromString(String name)"
|
|
nameWithType: "RouterWorkerStateSelector.fromString(String name)"
|
|
summary: "Creates or finds a Router<wbr>Worker<wbr>State<wbr>Selector from its string representation."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "a name to look for."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public static RouterWorkerStateSelector fromString(String name)"
|
|
desc: "Creates or finds a RouterWorkerStateSelector from its string representation."
|
|
returns:
|
|
description: "the corresponding RouterWorkerStateSelector."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerStateSelector&text=RouterWorkerStateSelector\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.values()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterWorkerStateSelector.values()"
|
|
name: "values()"
|
|
nameWithType: "RouterWorkerStateSelector.values()"
|
|
summary: "Gets known Router<wbr>Worker<wbr>State<wbr>Selector values."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static Collection<RouterWorkerStateSelector> values()"
|
|
desc: "Gets known RouterWorkerStateSelector values."
|
|
returns:
|
|
description: "known RouterWorkerStateSelector values."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a><<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerStateSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerStateSelector&text=RouterWorkerStateSelector\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "class"
|
|
desc: "Enums used to filters workers by state."
|
|
metadata: {}
|
|
package: "com.azure.communication.jobrouter.models"
|
|
artifact: com.azure:azure-communication-jobrouter:1.1.9
|