mybpel.wizards
Class Utils

java.lang.Object
  extended by mybpel.wizards.Utils

public class Utils
extends java.lang.Object


Field Summary
static java.lang.String modelDirectory
           
 
Constructor Summary
Utils()
           
 
Method Summary
static void copyFile(java.io.File modelDir, java.lang.String fileName)
           
static void createModelDir()
           
static boolean deleteDirectory(java.io.File path)
           
static java.lang.String getBPELWSDLFile()
           
static java.util.List<java.util.Map<java.lang.String,java.lang.String>> getConstantValues(java.lang.String tempFile)
           
static void getEnviromentVariables()
           
static java.lang.String getHomeDir()
           
static java.util.LinkedHashMap<java.lang.String,java.lang.String> getInvokes(java.lang.String tempFile)
          temp file format: invoke:operationName,wsdlfileName datavalue:key-value,key-value...
static java.lang.String getModelDir()
           
static java.lang.String getModelFile()
           
static java.lang.String getOperation(java.lang.String nodeName)
           
static java.lang.String getRealFilePath(java.lang.String fileName)
           
static org.netbeans.modules.bpel.model.api.BpelModel getTemplateModel()
           
static java.lang.String getTempModel()
           
static java.lang.String getWSDLFileName(java.lang.String nodeName)
           
static void main(java.lang.String[] args)
           
static void runCommand(java.lang.String command)
           
static void runCommand(java.lang.String command, java.lang.String[] env)
           
static void writeToTempModel(java.lang.String info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelDirectory

public static java.lang.String modelDirectory
Constructor Detail

Utils

public Utils()
Method Detail

getRealFilePath

public static java.lang.String getRealFilePath(java.lang.String fileName)

getModelFile

public static java.lang.String getModelFile()

getTempModel

public static java.lang.String getTempModel()

writeToTempModel

public static void writeToTempModel(java.lang.String info)

getTemplateModel

public static org.netbeans.modules.bpel.model.api.BpelModel getTemplateModel()

getBPELWSDLFile

public static java.lang.String getBPELWSDLFile()

getWSDLFileName

public static java.lang.String getWSDLFileName(java.lang.String nodeName)

getOperation

public static java.lang.String getOperation(java.lang.String nodeName)

getInvokes

public static java.util.LinkedHashMap<java.lang.String,java.lang.String> getInvokes(java.lang.String tempFile)
temp file format: invoke:operationName,wsdlfileName datavalue:key-value,key-value... another invoke...


getConstantValues

public static java.util.List<java.util.Map<java.lang.String,java.lang.String>> getConstantValues(java.lang.String tempFile)

getModelDir

public static java.lang.String getModelDir()

getHomeDir

public static java.lang.String getHomeDir()

getEnviromentVariables

public static void getEnviromentVariables()

createModelDir

public static void createModelDir()

deleteDirectory

public static boolean deleteDirectory(java.io.File path)

copyFile

public static void copyFile(java.io.File modelDir,
                            java.lang.String fileName)

runCommand

public static void runCommand(java.lang.String command)

runCommand

public static void runCommand(java.lang.String command,
                              java.lang.String[] env)

main

public static void main(java.lang.String[] args)
Parameters:
args -