com.atlassian.bamboo.security.trustedapplications
Class BambooTrustedApplicationImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationImpl
- All Implemented Interfaces:
- BambooObject, BambooTrustedApplication, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BambooTrustedApplication>
public class BambooTrustedApplicationImpl
- extends BambooEntityObject
- implements BambooTrustedApplication
- See Also:
- Serialized Form
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, toString, wait, wait, wait |
BambooTrustedApplicationImpl
public BambooTrustedApplicationImpl()
BambooTrustedApplicationImpl
public BambooTrustedApplicationImpl(java.lang.String applicationId,
java.lang.String publicKey,
java.lang.String name,
java.lang.Long timeout,
java.util.Set<java.lang.String> urlPatterns,
java.util.Set<java.lang.String> ipPatterns)
getApplicationId
public java.lang.String getApplicationId()
- Specified by:
getApplicationId
in interface BambooTrustedApplication
setApplicationId
public void setApplicationId(java.lang.String applicationId)
getPublicKey
public java.lang.String getPublicKey()
- Description copied from interface:
BambooTrustedApplication
- Get the trusted application's public key which is shared with this Bamboo instance.
- Specified by:
getPublicKey
in interface BambooTrustedApplication
setPublicKey
public void setPublicKey(java.lang.String publicKey)
getName
public java.lang.String getName()
- Specified by:
getName
in interface BambooTrustedApplication
setName
public void setName(java.lang.String name)
getTimeout
public java.lang.Long getTimeout()
- Specified by:
getTimeout
in interface BambooTrustedApplication
setTimeout
public void setTimeout(java.lang.Long timeout)
getUrlPatterns
public java.util.Set<java.lang.String> getUrlPatterns()
- Description copied from interface:
BambooTrustedApplication
- Get URL patterns allowed for this application.
- Specified by:
getUrlPatterns
in interface BambooTrustedApplication
setUrlPatterns
public void setUrlPatterns(java.util.Set<java.lang.String> urlPatterns)
getIpPatterns
public java.util.Set<java.lang.String> getIpPatterns()
- Description copied from interface:
BambooTrustedApplication
- Get IP patterns allowed for this application.
- Specified by:
getIpPatterns
in interface BambooTrustedApplication
setIpPatterns
public void setIpPatterns(java.util.Set<java.lang.String> ipPatterns)
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.atlassian.core.bean.EntityObject
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class com.atlassian.core.bean.EntityObject
compareTo
public int compareTo(BambooTrustedApplication o)
- Specified by:
compareTo
in interface java.lang.Comparable<BambooTrustedApplication>
Copyright © 2011 Atlassian. All Rights Reserved.