org.jclouds.jenkins.v1.domain
Class ComputerView
java.lang.Object
org.jclouds.jenkins.v1.domain.ComputerView
- All Implemented Interfaces:
- Comparable<ComputerView>
public class ComputerView
- extends Object
- implements Comparable<ComputerView>
- Author:
- Adrian Cole
- See Also:
- api
doc
displayName
protected final String displayName
busyExecutors
protected final int busyExecutors
totalExecutors
protected final int totalExecutors
computers
protected final Set<Computer> computers
ComputerView
public ComputerView(String displayName,
int busyExecutors,
int totalExecutors,
Set<Computer> computers)
builder
public static ComputerView.Builder builder()
toBuilder
public ComputerView.Builder toBuilder()
getDisplayName
public String getDisplayName()
- Returns:
- the displayName of the computer
getBusyExecutors
public int getBusyExecutors()
- Returns:
- the number of objects in the computer
getTotalExecutors
public int getTotalExecutors()
- Returns:
- the total totalExecutors stored in this computer
getComputers
public Set<Computer> getComputers()
- Returns:
- the computers in this set
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(ComputerView that)
- Specified by:
compareTo in interface Comparable<ComputerView>
Copyright © 2009-2012 jclouds. All Rights Reserved.