ca.uhn.hl7v2.conf.classes.generator.builders
Class DeploymentManager

java.lang.Object
  extended by ca.uhn.hl7v2.conf.classes.generator.builders.DeploymentManager

public class DeploymentManager
extends java.lang.Object

This Class Starts the build process and generates the Class files

Author:
James AgnewPaul BrohmanMitch DelachevrotiereShawn DyckCory Metcalf

Constructor Summary
DeploymentManager(java.lang.String dest, java.lang.String packageName)
          Creates a new instance of DeploymentManager
 
Method Summary
 void generate(java.lang.String xml)
          This method generates a Java representation of an XML profile message
 void generateFile(GeneratedClass gc, java.lang.String packageName, java.lang.String filename)
          This method is used to generate a file containng the Generated Class
 boolean getVerbose()
          This method returns the value of the member variable verbose
 void setVerbose(boolean verbose)
          This method sets the member variable verbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentManager

public DeploymentManager(java.lang.String dest,
                         java.lang.String packageName)
Creates a new instance of DeploymentManager

Method Detail

generate

public void generate(java.lang.String xml)
              throws ConformanceException
This method generates a Java representation of an XML profile message

Parameters:
xml - an XML representation of a profile message
Throws:
ConformanceException

generateFile

public void generateFile(GeneratedClass gc,
                         java.lang.String packageName,
                         java.lang.String filename)
This method is used to generate a file containng the Generated Class

Parameters:
gc - the Generated Class
packageName - the name of the package
filename - the name to save the generated class under

getVerbose

public boolean getVerbose()
This method returns the value of the member variable verbose

Returns:
the value of the verbose flag of either true or false

setVerbose

public void setVerbose(boolean verbose)
This method sets the member variable verbose

Parameters:
verbose - sets verbose flag to true or false