public class BaseVirtualSystem<T extends BaseVirtualSystem<T>> extends Section<T>
Modifier and Type | Class and Description |
---|---|
static class |
BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>> |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<String,Section> |
additionalSections |
protected String |
id |
protected String |
name |
protected OperatingSystemSection |
operatingSystem |
protected Set<ProductSection> |
productSections |
protected Set<VirtualHardwareSection> |
virtualHardwareSections |
Constructor and Description |
---|
BaseVirtualSystem(String id,
String info,
String name,
OperatingSystemSection operatingSystem,
Iterable<? extends VirtualHardwareSection> virtualHardwareSections,
Iterable<? extends ProductSection> productSections,
com.google.common.collect.Multimap<String,Section> additionalSections) |
Modifier and Type | Method and Description |
---|---|
static BaseVirtualSystem.Builder |
builder() |
boolean |
equals(Object obj) |
com.google.common.collect.Multimap<String,Section> |
getAdditionalSections() |
String |
getId() |
String |
getName() |
OperatingSystemSection |
getOperatingSystemSection() |
Set<? extends ProductSection> |
getProductSections()
Specifies product-information for a package, such as product name and version, along with a
set of properties that can be configured
|
Set<? extends VirtualHardwareSection> |
getVirtualHardwareSections()
Each VirtualSystem element may contain one or more VirtualHardwareSection elements, each of
which describes the virtual virtualHardwareSections required by the virtual system.
|
int |
hashCode() |
BaseVirtualSystem.Builder<T> |
toBuilder() |
String |
toString() |
protected final String id
protected final String name
protected final OperatingSystemSection operatingSystem
protected final Set<VirtualHardwareSection> virtualHardwareSections
protected final Set<ProductSection> productSections
public BaseVirtualSystem(String id, String info, String name, OperatingSystemSection operatingSystem, Iterable<? extends VirtualHardwareSection> virtualHardwareSections, Iterable<? extends ProductSection> productSections, com.google.common.collect.Multimap<String,Section> additionalSections)
public static BaseVirtualSystem.Builder builder()
public BaseVirtualSystem.Builder<T> toBuilder()
toBuilder
in class Section<T extends BaseVirtualSystem<T>>
public String getId()
public String getName()
public OperatingSystemSection getOperatingSystemSection()
public Set<? extends VirtualHardwareSection> getVirtualHardwareSections()
public Set<? extends ProductSection> getProductSections()
public com.google.common.collect.Multimap<String,Section> getAdditionalSections()
public int hashCode()
hashCode
in class Section<T extends BaseVirtualSystem<T>>
public boolean equals(Object obj)
equals
in class Section<T extends BaseVirtualSystem<T>>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.