public class Computer extends Object implements Comparable<Computer>
Modifier and Type | Class and Description |
---|---|
static class |
Computer.Builder |
Modifier and Type | Field and Description |
---|---|
protected String |
displayName |
protected boolean |
idle |
protected boolean |
offline |
Constructor and Description |
---|
Computer(String displayName,
boolean idle,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
static Computer.Builder |
builder() |
int |
compareTo(Computer that) |
boolean |
equals(Object object) |
String |
getDisplayName() |
int |
hashCode() |
boolean |
isIdle() |
boolean |
isOffline() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Computer.Builder |
toBuilder() |
String |
toString() |
protected final String displayName
protected final boolean idle
protected final boolean offline
public Computer(String displayName, boolean idle, boolean offline)
public static Computer.Builder builder()
public Computer.Builder toBuilder()
public String getDisplayName()
public boolean isIdle()
public boolean isOffline()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(Computer that)
compareTo
in interface Comparable<Computer>
Copyright © 2009-2013 jclouds. All Rights Reserved.