org.redhat.vmtruckloader.service
Class MachineSpecification

java.lang.Object
  extended by org.redhat.vmtruckloader.service.MachineSpecification

public class MachineSpecification
extends Object

A simple POJO to hold the specification of a Virtual Machine.

Author:
Romain Pelisse - belaran@gmail.com

Constructor Summary
MachineSpecification()
           
MachineSpecification(String machineName)
           
 
Method Summary
 MachineSpecification addCpus(int i)
           
 MachineSpecification addDatastore(String datastoreName)
           
 MachineSpecification addEnv(String env)
           
 MachineSpecification addIpAddress(String string)
           
 MachineSpecification addMacAddress(String macAddress)
           
 MachineSpecification addRam(int ram)
           
 MachineSpecification addResourcePool(String string)
           
 MachineSpecification addRole(String string)
           
 MachineSpecification addVLAN(String string)
           
 String getVmName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MachineSpecification

public MachineSpecification()

MachineSpecification

public MachineSpecification(String machineName)
Method Detail

getVmName

public String getVmName()

addVLAN

public MachineSpecification addVLAN(String string)

addRole

public MachineSpecification addRole(String string)

addEnv

public MachineSpecification addEnv(String env)

addIpAddress

public MachineSpecification addIpAddress(String string)

addResourcePool

public MachineSpecification addResourcePool(String string)

addDatastore

public MachineSpecification addDatastore(String datastoreName)

addCpus

public MachineSpecification addCpus(int i)

addRam

public MachineSpecification addRam(int ram)

addMacAddress

public MachineSpecification addMacAddress(String macAddress)


Copyright © 2013. All Rights Reserved.