org.jenkins.plugins.audit2db.internal.model
Class BuildNodeImpl
java.lang.Object
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
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.
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.