com.atlassian.crowd.horde.license
Class LicenseFileListener

java.lang.Object
  extended by com.atlassian.crowd.horde.license.LicenseFileListener
All Implemented Interfaces:
org.apache.commons.vfs2.FileListener

public class LicenseFileListener
extends Object
implements org.apache.commons.vfs2.FileListener


Constructor Summary
LicenseFileListener(LicenseMonitorServiceImpl licenseMonitorService)
           
 
Method Summary
 void fileChanged(org.apache.commons.vfs2.FileChangeEvent fileChangeEvent)
           
 void fileCreated(org.apache.commons.vfs2.FileChangeEvent fileChangeEvent)
           
 void fileDeleted(org.apache.commons.vfs2.FileChangeEvent fileChangeEvent)
           
 LicenseChangedEvent getLastChangedEvent()
           
 void readAndNotifyFromFile(File decodedLicenseFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseFileListener

public LicenseFileListener(LicenseMonitorServiceImpl licenseMonitorService)
Method Detail

getLastChangedEvent

public LicenseChangedEvent getLastChangedEvent()

fileCreated

public void fileCreated(org.apache.commons.vfs2.FileChangeEvent fileChangeEvent)
                 throws Exception
Specified by:
fileCreated in interface org.apache.commons.vfs2.FileListener
Throws:
Exception

fileDeleted

public void fileDeleted(org.apache.commons.vfs2.FileChangeEvent fileChangeEvent)
                 throws Exception
Specified by:
fileDeleted in interface org.apache.commons.vfs2.FileListener
Throws:
Exception

fileChanged

public void fileChanged(org.apache.commons.vfs2.FileChangeEvent fileChangeEvent)
                 throws Exception
Specified by:
fileChanged in interface org.apache.commons.vfs2.FileListener
Throws:
Exception

readAndNotifyFromFile

public void readAndNotifyFromFile(File decodedLicenseFile)


Copyright © 2013 Atlassian. All Rights Reserved.