Package com.atlassian.bamboo.security
Class TrustedKeyImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.security.TrustedKeyImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,TrustedKey
,Cloneable
@Entity public class TrustedKeyImpl extends BambooEntityObject implements TrustedKey
-
-
Constructor Summary
Constructors Constructor Description TrustedKeyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getHost()
String
getKey()
int
hashCode()
boolean
isApproved()
void
setApproved(boolean approved)
void
setHost(String host)
void
setKey(String key)
String
toString()
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Method Detail
-
getHost
public String getHost()
- Specified by:
getHost
in interfaceTrustedKey
-
setHost
public void setHost(String host)
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceTrustedKey
-
setKey
public void setKey(String key)
-
isApproved
public boolean isApproved()
- Specified by:
isApproved
in interfaceTrustedKey
-
setApproved
public void setApproved(boolean approved)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
-