Jadex 0.96-beta1

jadex.model
Class BatchProcessor

java.lang.Object
  extended by jadex.model.BatchProcessor

public class BatchProcessor
extends Object

Batch-process models (e.g., for checking).


Nested Class Summary
static class BatchProcessor.AgentInfo
          Struct for saving file info for agents.
static class BatchProcessor.CapabilityInfo
          Struct for saving file info for capabilities.
static class BatchProcessor.DirectoryInfo
          Struct for saving directory info.
static class BatchProcessor.FileInfo
          Struct for saving file info.
static class BatchProcessor.PropertiesInfo
          Struct for saving file info for properties.
 
Constructor Summary
BatchProcessor(boolean v, boolean rp, boolean rd)
          Create a new batch processor.
 
Method Summary
static void main(String[] args)
          Main for invoking the batch processor.
static void printUsage()
          Print out the usage.
 void processFiles(BatchProcessor.FileInfo[] fileinfos)
          Process a list of files and direcctories.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchProcessor

public BatchProcessor(boolean v,
                      boolean rp,
                      boolean rd)
Create a new batch processor.

Parameters:
v - Verbose output for each file.
rp - Compile also all capabilities contained in a model.
rd - Search recusively in subdirectories.
Method Detail

processFiles

public void processFiles(BatchProcessor.FileInfo[] fileinfos)
Process a list of files and direcctories.

Parameters:
fileinfos - The list of file infos.

printUsage

public static void printUsage()
Print out the usage.


main

public static void main(String[] args)
                 throws IOException
Main for invoking the batch processor. Usage: java jadex.model.BatchProcessor [-rd] [-rp] (files)* Examples: java jadex.model.BatchProcessor -rd "."

Throws:
IOException

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.