com.atlassian.bamboo.security.trustedapplications
Class BambooCurrentApplication

java.lang.Object
  extended by com.atlassian.bamboo.security.trustedapplications.BambooCurrentApplication
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BambooCurrentApplication>

public class BambooCurrentApplication
extends java.lang.Object
implements java.lang.Comparable<BambooCurrentApplication>, java.io.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
BambooCurrentApplication(java.lang.String applicationId, java.lang.String publicKey, java.lang.String privateKey)
           
 
Method Summary
 int compareTo(BambooCurrentApplication o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getApplicationId()
           
 java.lang.String getPrivateKey()
           
 java.lang.String getPublicKey()
           
 int hashCode()
           
 void setApplicationId(java.lang.String applicationId)
           
 void setPublicKey(java.lang.String publicKey)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooCurrentApplication

public BambooCurrentApplication(java.lang.String applicationId,
                                java.lang.String publicKey,
                                java.lang.String privateKey)
Method Detail

getApplicationId

public java.lang.String getApplicationId()

setApplicationId

public void setApplicationId(java.lang.String applicationId)

getPublicKey

public java.lang.String getPublicKey()

setPublicKey

public void setPublicKey(java.lang.String publicKey)

getPrivateKey

public java.lang.String getPrivateKey()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(BambooCurrentApplication o)
Specified by:
compareTo in interface java.lang.Comparable<BambooCurrentApplication>


Copyright © 2012 Atlassian. All Rights Reserved.