public interface BMain
Modifier and Type | Method and Description |
---|---|
void |
runMain(String balFile)
Run ballerina main function provided .bal file.
|
void |
runMain(String balFile,
LogLeecher[] leechers)
Run ballerina main function provided .bal file.
|
void |
runMain(String sourceRoot,
String packagePath)
Run ballerina main function provided bal package.
|
void |
runMain(String balFile,
String[] flags,
String[] args)
Run ballerina main function provided .bal file.
|
void |
runMain(String balFile,
String[] flags,
String[] args,
LogLeecher[] leechers)
Run ballerina main function provided .bal file.
|
void |
runMain(String balFile,
String[] flags,
String[] args,
Map<String,String> envProperties,
String[] clientArgs)
Run ballerina main function provided .bal file.
|
void |
runMain(String balFile,
String[] flags,
String[] args,
Map<String,String> envProperties,
String[] clientArgs,
LogLeecher[] leechers)
Run ballerina main function provided .bal file.
|
void |
runMain(String sourceRoot,
String packagePath,
LogLeecher[] leechers)
Run ballerina main function provided bal package.
|
void |
runMain(String sourceRoot,
String packagePath,
String[] flags,
String[] args)
Run ballerina main function provided bal package.
|
void |
runMain(String sourceRoot,
String packagePath,
String[] flags,
String[] args,
LogLeecher[] leechers)
Run ballerina main function provided bal package.
|
void |
runMain(String sourceRoot,
String packagePath,
String[] flags,
String[] args,
Map<String,String> envProperties,
String[] clientArgs)
Run ballerina main function provided bal package.
|
void |
runMain(String sourceRoot,
String packagePath,
String[] flags,
String[] args,
Map<String,String> envProperties,
String[] clientArgs,
LogLeecher[] leechers)
Run ballerina main function provided bal package.
|
void runMain(String balFile) throws BallerinaTestException
balFile
- bal file pathBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String balFile, LogLeecher[] leechers) throws BallerinaTestException
balFile
- bal file pathleechers
- log leechers to check the log if anyBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String balFile, String[] flags, String[] args) throws BallerinaTestException
balFile
- bal file pathflags
- flags to passargs
- arguments to passBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String balFile, String[] flags, String[] args, LogLeecher[] leechers) throws BallerinaTestException
balFile
- bal file pathflags
- flags to passargs
- arguments to passleechers
- log leechers to check the log if anyBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String balFile, String[] flags, String[] args, Map<String,String> envProperties, String[] clientArgs) throws BallerinaTestException
balFile
- bal file pathflags
- flags to passargs
- arguments to passenvProperties
- environment propertiesclientArgs
- arguments which program expectsBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String balFile, String[] flags, String[] args, Map<String,String> envProperties, String[] clientArgs, LogLeecher[] leechers) throws BallerinaTestException
balFile
- bal file pathflags
- flags to passargs
- arguments to passenvProperties
- environment propertiesclientArgs
- arguments which program expectsleechers
- log leechers to check the log if anyBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String sourceRoot, String packagePath) throws BallerinaTestException
sourceRoot
- source root directorypackagePath
- package pathBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String sourceRoot, String packagePath, LogLeecher[] leechers) throws BallerinaTestException
sourceRoot
- source root directorypackagePath
- package pathleechers
- log leechers to check the log if anyBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String sourceRoot, String packagePath, String[] flags, String[] args) throws BallerinaTestException
sourceRoot
- source root directorypackagePath
- package pathflags
- flags to passargs
- arguments to parseBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String sourceRoot, String packagePath, String[] flags, String[] args, LogLeecher[] leechers) throws BallerinaTestException
sourceRoot
- source root directorypackagePath
- package pathflags
- flags to passargs
- arguments to parseleechers
- log leechers to check the log if anyBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String sourceRoot, String packagePath, String[] flags, String[] args, Map<String,String> envProperties, String[] clientArgs) throws BallerinaTestException
sourceRoot
- source root directorypackagePath
- package pathflags
- flags to passargs
- arguments to parseenvProperties
- environment propertiesclientArgs
- arguments which program expectsBallerinaTestException
- if any exception is thrown when running the main functionvoid runMain(String sourceRoot, String packagePath, String[] flags, String[] args, Map<String,String> envProperties, String[] clientArgs, LogLeecher[] leechers) throws BallerinaTestException
sourceRoot
- source root directorypackagePath
- package pathflags
- flags to passargs
- arguments to parseenvProperties
- environment propertiesclientArgs
- arguments which program expectsleechers
- log leechers to check the log if anyBallerinaTestException
- if any exception is thrown when running the main functionCopyright © 2018 WSO2. All rights reserved.