edu.umd.cfar.lamp.apploader.prefs
Class PrintUsage

java.lang.Object
  extended byedu.umd.cfar.lamp.apploader.prefs.PrintUsage
All Implemented Interfaces:
TriggerHandler

public class PrintUsage
extends java.lang.Object
implements TriggerHandler

Command-line trigger handler that prints out usage information and exits the program.


Constructor Summary
PrintUsage()
           
 
Method Summary
 void invoke(PrefsManager prefs, com.hp.hpl.jena.rdf.model.Resource def, java.lang.String value)
          Prints out usage information and exits the program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintUsage

public PrintUsage()
Method Detail

invoke

public void invoke(PrefsManager prefs,
                   com.hp.hpl.jena.rdf.model.Resource def,
                   java.lang.String value)
Prints out usage information and exits the program.

Specified by:
invoke in interface TriggerHandler
Parameters:
prefs - The preferences to modify.
def - The RDF resource that defined the handler
value - The value passed from the command line or java property.
See Also:
TriggerHandler.invoke(edu.umd.cfar.lamp.apploader.prefs.PrefsManager, com.hp.hpl.jena.rdf.model.Resource, java.lang.String)