public class PlatformProperties extends Object
| Constructor | Description |
|---|---|
PlatformProperties() |
| Modifier and Type | Method | Description |
|---|---|---|
Architecture |
architecture() |
Get the OS architecture.
|
OS |
os() |
Get the operating system type required for the run.
|
Variant |
variant() |
Get variant of the CPU.
|
PlatformProperties |
withArchitecture(Architecture architecture) |
Set the OS architecture.
|
PlatformProperties |
withOs(OS os) |
Set the operating system type required for the run.
|
PlatformProperties |
withVariant(Variant variant) |
Set variant of the CPU.
|
public OS os()
public PlatformProperties withOs(OS os)
os - the os value to setpublic Architecture architecture()
public PlatformProperties withArchitecture(Architecture architecture)
architecture - the architecture value to setpublic Variant variant()
public PlatformProperties withVariant(Variant variant)
variant - the variant value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/