com.atlassian.bamboo.credentials
Class CredentialsDataImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.credentials.CredentialsDataImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, CredentialsData, Cloneable

public class CredentialsDataImpl
extends BambooEntityObject
implements CredentialsData


Field Summary
protected  String name
           
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
CredentialsDataImpl()
           
CredentialsDataImpl(String pluginKey, String name, String xml)
           
 
Method Summary
 boolean equals(Object obj)
          This method needs to be here in order to use proper id
 String getName()
           
 String getPluginKey()
           
 String getXml()
           
 int hashCode()
          This method needs to be here in order to use proper id
 void setName(String name)
           
 void setPluginKey(String pluginKey)
           
 void setXml(String xml)
           
 String toString()
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Field Detail

name

protected String name
Constructor Detail

CredentialsDataImpl

public CredentialsDataImpl()

CredentialsDataImpl

public CredentialsDataImpl(String pluginKey,
                           String name,
                           String xml)
Method Detail

getPluginKey

public String getPluginKey()
Specified by:
getPluginKey in interface CredentialsData

setPluginKey

public void setPluginKey(String pluginKey)
Specified by:
setPluginKey in interface CredentialsData

getName

public String getName()
Specified by:
getName in interface CredentialsData

setName

public void setName(String name)
Specified by:
setName in interface CredentialsData

getXml

@NotNull
public String getXml()
Specified by:
getXml in interface CredentialsData
Returns:
xml Serialization of the values for the Credentials representation, for example the ssh key and passphase in XML

setXml

public void setXml(@NotNull
                   String xml)
Specified by:
setXml in interface CredentialsData

hashCode

public int hashCode()
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
hashCode in class BambooEntityObject

equals

public boolean equals(Object obj)
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
equals in class BambooEntityObject

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.