Class BambooCurrentApplication
- java.lang.Object
-
- com.atlassian.bamboo.security.trustedapplications.BambooCurrentApplication
-
- All Implemented Interfaces:
Serializable
,Comparable<BambooCurrentApplication>
public final class BambooCurrentApplication extends Object implements Comparable<BambooCurrentApplication>, Serializable
Represents the current Bamboo instance's application for trusted apps. Only one instance of this class should exist per Bamboo.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BambooCurrentApplication(String applicationId, KeyPair keyPair)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(BambooCurrentApplication o)
boolean
equals(Object o)
String
getApplicationId()
KeyPair
getKeyPair()
String
getPrivateKey()
Deprecated.since 5.9, usegetKeyPair()
insteadString
getPublicKey()
Deprecated.since 5.9, usegetKeyPair()
insteadint
hashCode()
-
-
-
Method Detail
-
getApplicationId
public String getApplicationId()
-
getKeyPair
public KeyPair getKeyPair()
-
getPublicKey
@Deprecated public String getPublicKey()
Deprecated.since 5.9, usegetKeyPair()
instead
-
getPrivateKey
@Deprecated public String getPrivateKey()
Deprecated.since 5.9, usegetKeyPair()
instead
-
compareTo
public int compareTo(BambooCurrentApplication o)
- Specified by:
compareTo
in interfaceComparable<BambooCurrentApplication>
-
-