com.atlassian.studio.haup.api.event
Class AccessGrantedEvent

java.lang.Object
  extended by com.atlassian.studio.haup.api.event.AccessGrantedEvent
All Implemented Interfaces:
HaupEvent

public class AccessGrantedEvent
extends Object
implements HaupEvent

Event which is fired when a user has been granted an application license.


Constructor Summary
AccessGrantedEvent(String username, SupportedApplication application)
           
 
Method Summary
 SupportedApplication getApplication()
          Gets application for which the user has been granted a license.
 String getUsername()
          Gets username whom has been granted a license.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessGrantedEvent

public AccessGrantedEvent(String username,
                          SupportedApplication application)
Method Detail

getUsername

public String getUsername()
Gets username whom has been granted a license.

Returns:
username, never null

getApplication

public SupportedApplication getApplication()
Gets application for which the user has been granted a license.

Returns:
application, never null


Copyright © 2002-2012 Atlassian. All Rights Reserved.