org.jclouds.dmtf.ovf.internal
Class BaseEnvelope.Builder<B extends BaseEnvelope.Builder<B,V,E>,V extends BaseVirtualSystem,E extends BaseEnvelope<V,E>>

java.lang.Object
  extended by org.jclouds.dmtf.ovf.internal.BaseEnvelope.Builder<B,V,E>
Direct Known Subclasses:
Envelope.Builder
Enclosing class:
BaseEnvelope<V extends BaseVirtualSystem,E extends BaseEnvelope<V,E>>

public abstract static class BaseEnvelope.Builder<B extends BaseEnvelope.Builder<B,V,E>,V extends BaseVirtualSystem,E extends BaseEnvelope<V,E>>
extends Object


Field Summary
protected  Set<SectionType> additionalSections
           
protected  Set<DiskSection> diskSections
           
protected  Set<NetworkSection> networkSections
           
protected  V virtualSystem
           
 
Constructor Summary
BaseEnvelope.Builder()
           
 
Method Summary
 B additionalSection(SectionType additionalSection)
           
 B additionalSections(Iterable<? extends SectionType> additionalSections)
           
abstract  E build()
           
 B diskSection(DiskSection diskSection)
           
 B diskSections(Iterable<? extends DiskSection> diskSections)
           
 B fromEnvelope(BaseEnvelope<V,E> in)
           
 B networkSection(NetworkSection networkSection)
           
 B networkSections(Iterable<? extends NetworkSection> networkSections)
           
protected  B self()
           
 B virtualSystem(V virtualSystem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

diskSections

protected Set<DiskSection> diskSections

networkSections

protected Set<NetworkSection> networkSections

additionalSections

protected Set<SectionType> additionalSections

virtualSystem

protected V extends BaseVirtualSystem virtualSystem
Constructor Detail

BaseEnvelope.Builder

public BaseEnvelope.Builder()
Method Detail

self

protected B self()

diskSection

public B diskSection(DiskSection diskSection)
See Also:
BaseEnvelope.getDiskSections()

diskSections

public B diskSections(Iterable<? extends DiskSection> diskSections)
See Also:
BaseEnvelope.getDiskSections()

networkSection

public B networkSection(NetworkSection networkSection)
See Also:
BaseEnvelope.getNetworkSections()

networkSections

public B networkSections(Iterable<? extends NetworkSection> networkSections)
See Also:
BaseEnvelope.getNetworkSections()

additionalSection

public B additionalSection(SectionType additionalSection)
See Also:
BaseEnvelope.getAdditionalSections()

additionalSections

public B additionalSections(Iterable<? extends SectionType> additionalSections)
See Also:
BaseEnvelope.getAdditionalSections()

virtualSystem

public B virtualSystem(V virtualSystem)
See Also:
BaseEnvelope.getVirtualSystem()

build

public abstract E build()

fromEnvelope

public B fromEnvelope(BaseEnvelope<V,E> in)


Copyright © 2009-2012 jclouds. All Rights Reserved.