public static class OperatingSystem.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
arch |
protected String |
description |
protected OsFamily |
family |
protected boolean |
is64Bit |
protected String |
name |
protected String |
version |
Constructor and Description |
---|
OperatingSystem.Builder() |
Modifier and Type | Method and Description |
---|---|
OperatingSystem.Builder |
arch(String arch) |
OperatingSystem |
build() |
OperatingSystem.Builder |
description(String description) |
OperatingSystem.Builder |
family(OsFamily family) |
OperatingSystem.Builder |
fromOperatingSystem(OperatingSystem in) |
OperatingSystem.Builder |
is64Bit(boolean is64Bit) |
OperatingSystem.Builder |
name(String name) |
OperatingSystem.Builder |
version(String version) |
protected OsFamily family
protected String name
protected String arch
protected String version
protected String description
protected boolean is64Bit
public OperatingSystem.Builder family(@Nullable OsFamily family)
public OperatingSystem.Builder name(@Nullable String name)
public OperatingSystem.Builder arch(@Nullable String arch)
public OperatingSystem.Builder version(@Nullable String version)
public OperatingSystem.Builder description(String description)
public OperatingSystem.Builder is64Bit(boolean is64Bit)
public OperatingSystem build()
public OperatingSystem.Builder fromOperatingSystem(OperatingSystem in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.