org.umber.catalan.process.commands
Interface ICommand

All Superinterfaces:
IMetadataHolder
All Known Implementing Classes:
BaseCommand

public interface ICommand
extends IMetadataHolder

Encapsulation of a specific, smaller action inside the context of a worker. A single worker can have many commands.

Author:
jsheets

Method Summary
 void run(CommandContext context)
          Invokes this command against the given workspace with the given runtime properties.
 
Methods inherited from interface org.umber.catalan.process.workers.IMetadataHolder
getMetadata, validateProperties, validateType
 

Method Detail

run

public void run(CommandContext context)
         throws ProcessException
Invokes this command against the given workspace with the given runtime properties. The owning Worker should verify that all required properties are present before invoking run().

Parameters:
context - command context
Throws:
ProcessException - if a fatal error occurs during processing