org.jclouds.jenkins.v1.domain
Class Node

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

public class Node
extends Object
implements Comparable<Node>

Author:
Adrian Cole
See Also:
api doc

Nested Class Summary
static class Node.Builder
           
 
Field Summary
protected  String description
           
protected  Set<Job> jobs
           
protected  String name
           
 
Constructor Summary
Node(String name, String description, Set<Job> jobs)
           
 
Method Summary
static Node.Builder builder()
           
 int compareTo(Node that)
           
 boolean equals(Object object)
           
 String getDescription()
           
 Set<Job> getJobs()
           
 String getName()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Node.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

description

protected final String description

jobs

protected final Set<Job> jobs
Constructor Detail

Node

public Node(String name,
            String description,
            Set<Job> jobs)
Method Detail

builder

public static Node.Builder builder()

toBuilder

public Node.Builder toBuilder()

getName

public String getName()
Returns:
the name of the node

getDescription

public String getDescription()
Returns:
the description of the node

getJobs

public Set<Job> getJobs()
Returns:
the jobs on this node

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(Node that)
Specified by:
compareTo in interface Comparable<Node>


Copyright © 2009-2012 jclouds. All Rights Reserved.