examples
Class ExampleFileListenerPlugin

java.lang.Object
  |
  +--org.sourcejammer.server.plugin.SJServerFileChangeAdapter
        |
        +--examples.ExampleFileListenerPlugin
All Implemented Interfaces:
SJServerFileChangeListener, SJServerPlugin

public class ExampleFileListenerPlugin
extends SJServerFileChangeAdapter

Title: $FileName: ExampleFileListenerPlugin.java$

Version:
$VerNum: 4$
Author:
$AuthorName: Rob MacGrogan$

$Description: $
$KeyWordsOff: $

Field Summary
 
Fields inherited from class org.sourcejammer.server.plugin.SJServerFileChangeAdapter
 
Constructor Summary
ExampleFileListenerPlugin()
           
 
Method Summary
 void fileAdded(SJServerFileEvent ev)
          Target is new parent Project of file.
 void fileCheckedIn(SJServerFileEvent ev)
           
 void fileCheckedOut(SJServerFileEvent ev)
           
 void initPlugin(java.util.Map params)
          Warning! If you override this method, be sure to call super.initPlugin().
 void latestVersionRequested(SJServerFileEvent ev)
           
 void specificVesionRequested(SJServerFileEvent ev)
           
 
Methods inherited from class org.sourcejammer.server.plugin.SJServerFileChangeAdapter
fileBranched, fileCheckedOutUndone, fileCopied, fileDeleted, fileDescriptionModified, fileMoved, fileRemoved, fileRenamed, fileRestored, fileRolledBackToPreviousVersion, fileShared, fileShareRemoved, getParameter, getWorkDirectory, setWorkDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleFileListenerPlugin

public ExampleFileListenerPlugin()
Method Detail

initPlugin

public void initPlugin(java.util.Map params)
                throws MissingParamException
Description copied from class: SJServerFileChangeAdapter
Warning! If you override this method, be sure to call super.initPlugin().

Specified by:
initPlugin in interface SJServerPlugin
Overrides:
initPlugin in class SJServerFileChangeAdapter
MissingParamException
See Also:
org.sourcejammer.server.plugin.SJServerPlugin#initPlugin(HashMap)

fileAdded

public void fileAdded(SJServerFileEvent ev)
Description copied from interface: SJServerFileChangeListener
Target is new parent Project of file.

Specified by:
fileAdded in interface SJServerFileChangeListener
Overrides:
fileAdded in class SJServerFileChangeAdapter
See Also:
SJServerFileChangeListener.fileAdded(SJServerFileEvent)

fileCheckedIn

public void fileCheckedIn(SJServerFileEvent ev)
Specified by:
fileCheckedIn in interface SJServerFileChangeListener
Overrides:
fileCheckedIn in class SJServerFileChangeAdapter
See Also:
SJServerFileChangeListener.fileCheckedIn(SJServerFileEvent)

fileCheckedOut

public void fileCheckedOut(SJServerFileEvent ev)
Specified by:
fileCheckedOut in interface SJServerFileChangeListener
Overrides:
fileCheckedOut in class SJServerFileChangeAdapter
See Also:
SJServerFileChangeListener.fileCheckedOut(SJServerFileEvent)

latestVersionRequested

public void latestVersionRequested(SJServerFileEvent ev)
Specified by:
latestVersionRequested in interface SJServerFileChangeListener
Overrides:
latestVersionRequested in class SJServerFileChangeAdapter
See Also:
SJServerFileChangeListener.latestVersionRequested(SJServerFileEvent)

specificVesionRequested

public void specificVesionRequested(SJServerFileEvent ev)
Specified by:
specificVesionRequested in interface SJServerFileChangeListener
Overrides:
specificVesionRequested in class SJServerFileChangeAdapter
See Also:
SJServerFileChangeListener.specificVesionRequested(SJServerFileEvent)


Copyright 2003 Soucejammer project.