public class SetupProjectProcess extends BaseProcess
| Modifier and Type | Field and Description |
|---|---|
static String |
BINDING_NAME |
static String |
END |
static String |
START |
static String |
STRING_ENCODING |
static String |
TEMPLATE_LOCATION |
static String |
URL_ENCODING |
m_propertiesm_messageFilterList, m_recordOwnerCollection, m_taskParent, m_vRecordListMASTER, SLAVE| Constructor and Description |
|---|
SetupProjectProcess()
Default constructor.
|
SetupProjectProcess(RecordOwnerParent taskParent,
Record recordMain,
Map<String,Object> properties)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
convertAndWriteXML(String xml,
String path)
ConvertAndWriteXML Method.
|
void |
init(RecordOwnerParent taskParent,
Record recordMain,
Map<String,Object> properties)
Initialize class fields.
|
String |
marshalObject(Object message)
Marshal this object to an XML string
|
Record |
openMainRecord()
Open the main file.
|
void |
openOtherRecords()
Open the other files.
|
boolean |
populateSourceDir(String templateDir)
PopulateSourceDir Method.
|
String |
replaceParams(String xml,
ClassProjectModel.CodeType codeType)
ReplaceParams Method.
|
void |
run()
Run Method.
|
String |
transferStream(InputStream in,
int size)
TransferStream Method.
|
Object |
unmarshalMessage(String xml)
Unmarshal this xml Message to an object.
|
free, getProperties, getProperty, handleMessage, retrieveUserProperties, setProperties, setPropertyaddDatabase, addListenerMessageFilter, addListeners, addRecord, addRecord, addRecordOwner, addScreenRecord, getDatabase, getDatabaseOwner, getEnvironment, getListenerMessageFilter, getMainRecord, getMasterSlave, getParentRecordOwner, getRecord, getScreenRecord, getTask, init, isBatch, isThinListener, removeDatabase, removeListenerMessageFilter, removeRecord, removeRecordOwner, setScreenRecordpublic static final String STRING_ENCODING
public static final String URL_ENCODING
public static final String BINDING_NAME
public static final String START
public static final String END
public static final String TEMPLATE_LOCATION
public SetupProjectProcess()
public SetupProjectProcess(RecordOwnerParent taskParent, Record recordMain, Map<String,Object> properties)
public void init(RecordOwnerParent taskParent, Record recordMain, Map<String,Object> properties)
init in class BaseProcesspublic Record openMainRecord()
openMainRecord in class BaseRecordOwnerpublic void openOtherRecords()
openOtherRecords in class BaseRecordOwnerpublic void run()
run in class BaseProcesspublic boolean populateSourceDir(String templateDir)
public void convertAndWriteXML(String xml, String path)
public String replaceParams(String xml, ClassProjectModel.CodeType codeType)
public String transferStream(InputStream in, int size)
public String marshalObject(Object message)
message - Copyright © 2015 jbundle.org. All Rights Reserved.