org.jclouds.jenkins.v1.domain
Class Computer

java.lang.Object
  extended by org.jclouds.jenkins.v1.domain.Computer
All Implemented Interfaces:
Comparable<Computer>

public class Computer
extends Object
implements Comparable<Computer>

Author:
Adrian Cole
See Also:
api doc

Nested Class Summary
static class Computer.Builder
           
 
Field Summary
protected  String displayName
           
protected  boolean idle
           
protected  boolean offline
           
 
Constructor Summary
Computer(String displayName, boolean idle, boolean offline)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

displayName

protected final String displayName

idle

protected final boolean idle

offline

protected final boolean offline
Constructor Detail

Computer

public Computer(String displayName,
                boolean idle,
                boolean offline)
Method Detail

builder

public static Computer.Builder builder()

toBuilder

public Computer.Builder toBuilder()

getDisplayName

public String getDisplayName()
Returns:
the displayName of the computer

isIdle

public boolean isIdle()
Returns:
the number of objects in the computer

isOffline

public boolean isOffline()
Returns:
the total offline stored in this computer

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

compareTo

public int compareTo(Computer that)
Specified by:
compareTo in interface Comparable<Computer>


Copyright © 2009-2012 jclouds. All Rights Reserved.