com.atlassian.bamboo.jira.jiraserver
Class JiraServerDefinitionImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.jira.jiraserver.JiraServerDefinitionImpl
All Implemented Interfaces:
BambooObject, JiraServerDefinition, java.lang.Cloneable

public class JiraServerDefinitionImpl
extends BambooEntityObject
implements JiraServerDefinition


Field Summary
protected  java.lang.String name
           
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
JiraServerDefinitionImpl()
           
JiraServerDefinitionImpl(long id, java.lang.String name, java.lang.String host, java.lang.String username, java.lang.String password)
           
 
Method Summary
 java.lang.String getEncryptedPassword()
           
 java.lang.String getHost()
           
 java.lang.String getName()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 void setEncryptedPassword(java.lang.String password)
           
 void setHost(java.lang.String host)
           
 void setName(java.lang.String name)
           
 void setPassword(java.lang.String password)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.jira.jiraserver.JiraServerDefinition
getId, setId
 

Field Detail

name

protected java.lang.String name
Constructor Detail

JiraServerDefinitionImpl

public JiraServerDefinitionImpl()

JiraServerDefinitionImpl

public JiraServerDefinitionImpl(long id,
                                java.lang.String name,
                                java.lang.String host,
                                java.lang.String username,
                                java.lang.String password)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface JiraServerDefinition
Returns:
a name specified by the user to label the server

setName

public void setName(java.lang.String name)
Specified by:
setName in interface JiraServerDefinition

getHost

public java.lang.String getHost()
Specified by:
getHost in interface JiraServerDefinition
Returns:
the path to the JIRA server

setHost

public void setHost(java.lang.String host)
Specified by:
setHost in interface JiraServerDefinition

getUsername

public java.lang.String getUsername()
Specified by:
getUsername in interface JiraServerDefinition
Returns:
username to the JIRA login

setUsername

public void setUsername(java.lang.String username)
Specified by:
setUsername in interface JiraServerDefinition

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface JiraServerDefinition
Returns:
password to login to JIRA

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface JiraServerDefinition

getEncryptedPassword

public java.lang.String getEncryptedPassword()
Specified by:
getEncryptedPassword in interface JiraServerDefinition
Returns:
encrypted version of the password

setEncryptedPassword

public void setEncryptedPassword(java.lang.String password)
Specified by:
setEncryptedPassword in interface JiraServerDefinition


Copyright © 2011 Atlassian. All Rights Reserved.