| Modifier and Type | Field | Description |
|---|---|---|
static PolicyStatus |
PolicyStatus.DISABLED |
Static value disabled for PolicyStatus.
|
static PolicyStatus |
PolicyStatus.ENABLED |
Static value enabled for PolicyStatus.
|
| Modifier and Type | Method | Description |
|---|---|---|
static PolicyStatus |
PolicyStatus.fromString(String name) |
Creates or finds a PolicyStatus from its string representation.
|
PolicyStatus |
QuarantinePolicy.status() |
Get the value that indicates whether the policy is enabled or not.
|
PolicyStatus |
TrustPolicy.status() |
Get the value that indicates whether the policy is enabled or not.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Collection<PolicyStatus> |
PolicyStatus.values() |
| Modifier and Type | Method | Description |
|---|---|---|
QuarantinePolicy |
QuarantinePolicy.withStatus(PolicyStatus status) |
Set the value that indicates whether the policy is enabled or not.
|
TrustPolicy |
TrustPolicy.withStatus(PolicyStatus status) |
Set the value that indicates whether the policy is enabled or not.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/