public class FlowRendererBAR
extends java.lang.Object
The FlowRendererBAR class provides utility methods to allow the reading and writing of MessageFlow instances in the *.bar file format.
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ xxxxx.x 2011-07-06 dstorey v8.0.0.0 Release
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
static int |
CREATE_MODE |
static int |
DELETE_MODE |
static int |
FAILURE
Represents a failure return code;
required for CommandLine/ImbCmdmqsilist.cpp
|
static int |
returnCode
The command's return code;
required for CommandLine/ImbCmdmqsilist.cpp
|
static int |
SUCCESS
Represents the successful return code;
required for CommandLine/ImbCmdmqsilist.cpp
|
static int |
UPDATE_MODE |
Constructor and Description |
---|
FlowRendererBAR() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main method, which is called when the program is invoked from the
command line.
|
static void |
write(java.lang.String rootLocation,
java.util.ArrayList<java.lang.String> sourceLocations,
java.lang.String directoryName,
java.lang.String fileName,
int writeMode,
boolean includeAllArtifacts)
Create BAR file based on the provided source locations
|
public static final java.lang.String copyright
public static final int CREATE_MODE
public static final int UPDATE_MODE
public static final int DELETE_MODE
public static final int SUCCESS
public static final int FAILURE
public static int returnCode
public static void write(java.lang.String rootLocation, java.util.ArrayList<java.lang.String> sourceLocations, java.lang.String directoryName, java.lang.String fileName, int writeMode, boolean includeAllArtifacts) throws java.io.IOException, com.ibm.broker.MessageBrokerAPIException
rootLocation
- Root location of the sources. If null, current directory will be used.sourceLocations
- Relative path of supported files or directories (i.e. application, library, application domain).directoryName
- The directory location to output the BAR file. Empty string is the current working directory.fileName
- Name of the BAR file.writeMode
- Three different modes are supported (CREATE_MODE(0), UPDATE_MODE(1), and DELETE_MODE(2)).includeAllArtifacts
- If true, include all artifacts in the source locations.java.io.IOException
com.ibm.broker.MessageBrokerAPIException
public static void main(java.lang.String[] args)
args
- the argument list, passed in from the command line.