Class BambooTrustedApplicationImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,BambooTrustedApplication
,NameProvider
,Serializable
,Cloneable
,Comparable<BambooTrustedApplication>
@Entity public class BambooTrustedApplicationImpl extends BambooEntityObject implements BambooTrustedApplication
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BambooTrustedApplicationImpl()
BambooTrustedApplicationImpl(@NotNull String applicationId, @NotNull String publicKey, @Nullable String name, @NotNull Long timeout, @NotNull Set<String> urlPatterns, @NotNull Set<String> ipPatterns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BambooTrustedApplication o)
boolean
equals(Object o)
@NotNull String
getApplicationId()
@NotNull Set<String>
getIpPatterns()
Get IP patterns allowed for this application.String
getName()
@NotNull String
getPublicKey()
Get the trusted application's public key which is shared with this Bamboo instance.@NotNull Long
getTimeout()
@NotNull Set<String>
getUrlPatterns()
Get URL patterns allowed for this application.int
hashCode()
void
setApplicationId(@NotNull String applicationId)
void
setIpPatterns(@NotNull Set<String> ipPatterns)
void
setName(String name)
void
setPublicKey(@NotNull String publicKey)
void
setTimeout(@NotNull Long timeout)
void
setUrlPatterns(@NotNull Set<String> urlPatterns)
-
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, toString, 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
-
getApplicationId
@NotNull public @NotNull String getApplicationId()
- Specified by:
getApplicationId
in interfaceBambooTrustedApplication
-
setApplicationId
public void setApplicationId(@NotNull @NotNull String applicationId)
-
getPublicKey
@NotNull public @NotNull 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 interfaceBambooTrustedApplication
-
setPublicKey
public void setPublicKey(@NotNull @NotNull String publicKey)
-
getName
public String getName()
- Specified by:
getName
in interfaceBambooTrustedApplication
- Specified by:
getName
in interfaceNameProvider
-
setName
public void setName(String name)
-
getTimeout
@NotNull public @NotNull Long getTimeout()
- Specified by:
getTimeout
in interfaceBambooTrustedApplication
-
setTimeout
public void setTimeout(@NotNull @NotNull Long timeout)
-
getUrlPatterns
@NotNull public @NotNull Set<String> getUrlPatterns()
Description copied from interface:BambooTrustedApplication
Get URL patterns allowed for this application.- Specified by:
getUrlPatterns
in interfaceBambooTrustedApplication
-
getIpPatterns
@NotNull public @NotNull Set<String> getIpPatterns()
Description copied from interface:BambooTrustedApplication
Get IP patterns allowed for this application.- Specified by:
getIpPatterns
in interfaceBambooTrustedApplication
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
public int compareTo(BambooTrustedApplication o)
- Specified by:
compareTo
in interfaceComparable<BambooTrustedApplication>
-
-