org.jenkins.plugins.audit2db.internal.model
Class BuildNodeImpl

java.lang.Object
  extended by org.jenkins.plugins.audit2db.internal.model.BuildNodeImpl
All Implemented Interfaces:
BuildNode

@Entity(name="JENKINS_BUILD_NODE")
public class BuildNodeImpl
extends Object
implements BuildNode

Author:
Marco Scata

Constructor Summary
BuildNodeImpl()
          Default constructor.
BuildNodeImpl(String address, String hostName, String displayName, String url, String name, String description, String label)
          Constructs a new object with the given properties.
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getDisplayName()
           
 String getLabel()
           
 String getMasterAddress()
           
 String getMasterHostName()
           
 String getName()
           
 String getUrl()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setDisplayName(String displayName)
           
 void setLabel(String label)
           
 void setMasterAddress(String address)
           
 void setMasterHostName(String hostName)
           
 void setName(String name)
           
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildNodeImpl

public BuildNodeImpl()
Default constructor.


BuildNodeImpl

public BuildNodeImpl(String address,
                     String hostName,
                     String displayName,
                     String url,
                     String name,
                     String description,
                     String label)
Constructs a new object with the given properties.

Parameters:
address - the IP address of the Jenkins master.
hostName - the hostName of the Jenkins master.
displayName - the node name as displayed on Jenkins.
url - the node url.
name - the node name.
description - the node description.
label - the node label.
Method Detail

getMasterAddress

public String getMasterAddress()
Specified by:
getMasterAddress in interface BuildNode
See Also:
BuildNode.getMasterAddress()

setMasterAddress

public void setMasterAddress(String address)
Specified by:
setMasterAddress in interface BuildNode
See Also:
BuildNode.setMasterAddress(String)

getMasterHostName

public String getMasterHostName()
Specified by:
getMasterHostName in interface BuildNode
See Also:
BuildNode.getMasterHostName()

setMasterHostName

public void setMasterHostName(String hostName)
Specified by:
setMasterHostName in interface BuildNode
See Also:
BuildNode.setMasterHostName(String)

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface BuildNode
See Also:
BuildNode.getDisplayName()

setDisplayName

public void setDisplayName(String displayName)
Specified by:
setDisplayName in interface BuildNode
See Also:
BuildNode.setDisplayName(java.lang.String)

getUrl

public String getUrl()
Specified by:
getUrl in interface BuildNode
See Also:
BuildNode.getUrl()

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface BuildNode
See Also:
BuildNode.setUrl(java.lang.String)

getName

public String getName()
Specified by:
getName in interface BuildNode
See Also:
BuildNode.getName()

setName

public void setName(String name)
Specified by:
setName in interface BuildNode
See Also:
BuildNode.setName(java.lang.String)

getDescription

public String getDescription()
Specified by:
getDescription in interface BuildNode
See Also:
BuildNode.getDescription()

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface BuildNode
See Also:
BuildNode.setDescription(java.lang.String)

getLabel

public String getLabel()
Specified by:
getLabel in interface BuildNode
See Also:
BuildNode.getLabel()

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface BuildNode
See Also:
BuildNode.setLabel(java.lang.String)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2004-2013. All Rights Reserved.