org.plasma.provisioning.cli
Class ProvisioningTool

java.lang.Object
  extended by org.plasma.provisioning.cli.ProvisioningTool
Direct Known Subclasses:
DDLTool, DSLTool, QueryTool, RDBTool, SDOTool, XSDTool

public abstract class ProvisioningTool
extends Object


Constructor Summary
ProvisioningTool()
           
 
Method Summary
protected static File createStagingModel(File source, File classesDir)
           
protected static File createTempFileFromJar(String javaXsl, File baseDir)
           
static byte[] readContent(InputStream is)
           
protected static boolean regenerate(long lastExecution)
           
protected static Model validateStagingModel(File source)
           
protected static void writeContent(InputStream is, OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvisioningTool

public ProvisioningTool()
Method Detail

createStagingModel

protected static File createStagingModel(File source,
                                         File classesDir)
                                  throws IOException,
                                         TransformerConfigurationException,
                                         TransformerException,
                                         JAXBException,
                                         SAXException
Throws:
IOException
TransformerConfigurationException
TransformerException
JAXBException
SAXException

validateStagingModel

protected static Model validateStagingModel(File source)
                                     throws JAXBException,
                                            SAXException,
                                            IOException
Throws:
JAXBException
SAXException
IOException

createTempFileFromJar

protected static File createTempFileFromJar(String javaXsl,
                                            File baseDir)
                                     throws IOException
Throws:
IOException

regenerate

protected static boolean regenerate(long lastExecution)

writeContent

protected static void writeContent(InputStream is,
                                   OutputStream os)
                            throws IOException
Throws:
IOException

readContent

public static byte[] readContent(InputStream is)
                          throws IOException
Throws:
IOException


Copyright © 2013. All rights reserved.