org.jclouds.jenkins.v1.domain
Class Computer
java.lang.Object
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
|
Constructor Summary |
Computer(String displayName,
boolean idle,
boolean offline)
|
displayName
protected final String displayName
idle
protected final boolean idle
offline
protected final boolean offline
Computer
public Computer(String displayName,
boolean idle,
boolean offline)
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.