org.jclouds.gogrid.domain
Class Server

java.lang.Object
  extended by org.jclouds.gogrid.domain.Server
All Implemented Interfaces:
Comparable<Server>

public class Server
extends Object
implements Comparable<Server>

Author:
Oleksiy Yarmula

Constructor Summary
Server(long id, Option datacenter, boolean sandbox, String name, String description, ServerState state, Option type, Option ram, Option os, Ip ip, ServerImage image)
           
 
Method Summary
 int compareTo(Server o)
           
 boolean equals(Object obj)
           
 Option getDatacenter()
           
 String getDescription()
           
 long getId()
           
 ServerImage getImage()
           
 Ip getIp()
           
 String getName()
           
 Option getOs()
           
 Option getRam()
           
 ServerState getState()
           
 Option getType()
           
 int hashCode()
           
 boolean isSandbox()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Server

public Server(long id,
              Option datacenter,
              boolean sandbox,
              String name,
              String description,
              ServerState state,
              Option type,
              Option ram,
              Option os,
              Ip ip,
              ServerImage image)
Method Detail

getId

public long getId()

isSandbox

public boolean isSandbox()

getDatacenter

public Option getDatacenter()

getName

public String getName()

getDescription

public String getDescription()

getState

public ServerState getState()

getType

public Option getType()

getRam

public Option getRam()

getOs

public Option getOs()

getIp

public Ip getIp()

getImage

public ServerImage getImage()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Server o)
Specified by:
compareTo in interface Comparable<Server>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.