com.atlassian.bamboo.credentials
Class CredentialsDataImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.credentials.CredentialsDataImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, CredentialsData, Cloneable
public class CredentialsDataImpl
- extends BambooEntityObject
- implements CredentialsData
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
name
protected String name
CredentialsDataImpl
public CredentialsDataImpl()
CredentialsDataImpl
public CredentialsDataImpl(String pluginKey,
String name,
String xml)
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.