com.atlassian.jira.security.auth.trustedapps
Class TrustedApplicationBuilder
java.lang.Object
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationBuilder
public class TrustedApplicationBuilder
- extends Object
Builder pattern class for constructing and transforming our various data and business objects.
- Since:
- v3.12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustedApplicationBuilder
public TrustedApplicationBuilder()
set
public TrustedApplicationBuilder set(TrustedApplicationInfo info)
set
public TrustedApplicationBuilder set(com.atlassian.security.auth.trustedapps.Application app)
set
public TrustedApplicationBuilder set(com.atlassian.security.auth.trustedapps.RequestConditions requestConditions)
getId
public long getId()
setId
public TrustedApplicationBuilder setId(long id)
getApplicationId
public String getApplicationId()
setApplicationId
public TrustedApplicationBuilder setApplicationId(String applicationId)
getTimeout
public long getTimeout()
setTimeout
public TrustedApplicationBuilder setTimeout(long timeout)
getPublicKey
public String getPublicKey()
setPublicKey
public TrustedApplicationBuilder setPublicKey(PublicKey publicKey)
setPublicKey
public TrustedApplicationBuilder setPublicKey(String publicKey)
getName
public String getName()
setName
public TrustedApplicationBuilder setName(String name)
getIpMatch
public String getIpMatch()
setIpMatch
public TrustedApplicationBuilder setIpMatch(String ipMatch)
setIpMatch
public TrustedApplicationBuilder setIpMatch(Iterable<String> ipMatch)
getUrlMatch
public String getUrlMatch()
setUrlMatch
public TrustedApplicationBuilder setUrlMatch(String urlMatch)
setCreated
public TrustedApplicationBuilder setCreated(Date created)
setCreated
public TrustedApplicationBuilder setCreated(AuditLog created)
toInfo
public TrustedApplicationInfo toInfo()
toSimple
public SimpleTrustedApplication toSimple()
toData
public com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData toData()
toQueryString
public String toQueryString()
- Transforms the data held in the builder into a query string representation for use with URLs.
Values of individual fields are URL encoded.
Note: the length of the returned String may exceed the maximum length for a GET URL.
- Returns:
- the data as a query string
Copyright © 2002-2013 Atlassian. All Rights Reserved.