org.umber.catalan.process.commands
Class BaseCommand

java.lang.Object
  extended byorg.umber.catalan.process.workers.BaseMetadataHolder
      extended byorg.umber.catalan.process.commands.BaseCommand
All Implemented Interfaces:
ICommand, IMetadataHolder
Direct Known Subclasses:
BaseQueryCommand, BaseTextCommand, BeanToXmlCommand, ExportCommand, ExportJavaCommand, ImportCommand, JavaToHtmlCommand, PartitionSplitCommand, RegexpFilterCommand, XmlToBeanCommand, XmlToHtmlCommand

public abstract class BaseCommand
extends BaseMetadataHolder
implements ICommand

Default implementation of ICommand.

Author:
jsheets

Constructor Summary
BaseCommand(java.lang.String name, java.lang.String description)
          Creates a new instance of BaseCommand.
BaseCommand(java.lang.String name, java.lang.String description, PropertyInfo[] required, OptionalPropertyInfo[] optional)
          Creates a new instance of BaseCommand.
 
Methods inherited from class org.umber.catalan.process.workers.BaseMetadataHolder
getMetadata, setOptionalProperties, setRequiredProperties, validateProperties, validateType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.umber.catalan.process.commands.ICommand
run
 
Methods inherited from interface org.umber.catalan.process.workers.IMetadataHolder
getMetadata, validateProperties, validateType
 

Constructor Detail

BaseCommand

public BaseCommand(java.lang.String name,
                   java.lang.String description)
Creates a new instance of BaseCommand.

Parameters:
name - command name
description - user-friendly command description

BaseCommand

public BaseCommand(java.lang.String name,
                   java.lang.String description,
                   PropertyInfo[] required,
                   OptionalPropertyInfo[] optional)
Creates a new instance of BaseCommand.

Parameters:
name - command name
description - user-friendly command description
required - property info for all required properties
optional - property info for all optional properties