本文整理汇总了Java中org.pentaho.di.core.exception.KettleStepException类的典型用法代码示例。如果您正苦于以下问题:Java KettleStepException类的具体用法?Java KettleStepException怎么用?Java KettleStepException使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
KettleStepException类属于org.pentaho.di.core.exception包,在下文中一共展示了KettleStepException类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getFields
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Override
public void getFields(RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep,
VariableSpace space, Repository repository, IMetaStore metaStore) throws KettleStepException {
// Optionally add a fields...
//
if (StringUtils.isNotEmpty(responseCodeField)) {
ValueMetaInterface codeValue = new ValueMetaInteger(responseCodeField);
codeValue.setLength(3);
codeValue.setOrigin(name);
inputRowMeta.addValueMeta(codeValue);
}
if (StringUtils.isNotEmpty(responseTimeField)) {
ValueMetaInterface timeValue = new ValueMetaInteger(responseTimeField);
timeValue.setLength(7);
timeValue.setOrigin(name);
inputRowMeta.addValueMeta(timeValue);
}
}
示例2: outputOrganizationTagRow
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
private void outputOrganizationTagRow( Organization org ) throws KettleStepException {
if ( data.organizationTagRowMeta == null || data.organizationTagRowMeta.isEmpty() ) {
return;
}
for ( String tag : org.getTags() ) {
Object[] outputRow = RowDataUtil.allocateRowData( data.organizationTagRowMeta.size() );
if ( data.tagOrganizationIdIndex >= 0 ) {
outputRow[data.tagOrganizationIdIndex] = org.getId();
}
if ( data.tagValueIndex >= 0 ) {
outputRow[data.tagValueIndex] = tag;
}
putRowTo( data.organizationTagRowMeta, outputRow, data.organizationTagOutputRowSet );
}
}
示例3: outputOrganizationFieldRow
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
private void outputOrganizationFieldRow( Organization org ) throws KettleStepException {
if ( data.organizationFieldRowMeta == null || data.organizationFieldRowMeta.isEmpty() ) {
return;
}
for ( Map.Entry<String, Object> field : org.getOrganizationFields().entrySet() ) {
Object[] outputRow = RowDataUtil.allocateRowData( data.organizationTagRowMeta.size() );
if ( data.fieldOrganizationIdIndex >= 0 ) {
outputRow[data.fieldOrganizationIdIndex] = org.getId();
}
if ( data.fieldNameIndex >= 0 ) {
outputRow[data.fieldNameIndex] = field.getKey();
}
if ( data.fieldValueIndex >= 0 ) {
outputRow[data.fieldValueIndex] = String.valueOf( field.getValue() );
}
putRowTo( data.organizationFieldRowMeta, outputRow, data.organizationFieldOutputRowSet );
}
}
示例4: outputOrganizationDomainRow
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
private void outputOrganizationDomainRow( Organization org ) throws KettleStepException {
if ( data.organizationDomainRowMeta == null || data.organizationDomainRowMeta.isEmpty() ) {
return;
}
for ( String domain : org.getDomainNames() ) {
if ( !Const.isEmpty( domain ) ) {
Object[] outputRow = RowDataUtil.allocateRowData( data.organizationDomainRowMeta.size() );
if ( data.domainOrganizationIdIndex >= 0 ) {
outputRow[data.domainOrganizationIdIndex] = org.getId();
}
if ( data.domainNameIndex >= 0 ) {
outputRow[data.domainNameIndex] = domain;
}
putRowTo( data.organizationDomainRowMeta, outputRow, data.organizationDomainOutputRowSet );
}
}
}
示例5: getFields
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Override
public void getFields( RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep,
VariableSpace space, Repository repository, IMetaStore metaStore ) throws KettleStepException {
super.getFields( inputRowMeta, name, info, nextStep, space, repository, metaStore );
if ( nextStep != null ) {
if ( nextStep.equals( organizationStepMeta ) ) {
prepareExecutionResultsOrganization( inputRowMeta, space );
} else if ( nextStep.equals( organizationTagStepMeta ) ) {
prepareExecutionResultsOrganizationTag( inputRowMeta, space );
} else if ( nextStep.equals( organizationFieldStepMeta ) ) {
prepareExecutionResultsOrganizationField( inputRowMeta, space );
} else if ( nextStep.equals( organizationDomainStepMeta ) ) {
prepareExecutionResultsOrganizationDomain( inputRowMeta, space );
}
}
}
示例6: prepareExecutionResultsArticle
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
private void prepareExecutionResultsArticle( RowMetaInterface inputRowMeta, VariableSpace space ) throws KettleStepException {
inputRowMeta.clear();
addFieldToRow( inputRowMeta, space.environmentSubstitute( getArticleIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getArticleUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getArticleTitleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getArticleBodyFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getLocaleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSourceLocaleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getAuthorIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCommentsDisabledFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getOutdatedFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getLabelsFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getDraftFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getPromotedFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getPositionFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getVoteSumFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getVoteCountFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSectionIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCreatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getUpdatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
}
示例7: prepareExecutionResultsTranslation
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
private void prepareExecutionResultsTranslation( RowMetaInterface inputRowMeta, VariableSpace space ) throws KettleStepException {
inputRowMeta.clear();
addFieldToRow( inputRowMeta, space.environmentSubstitute( getArticleIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationHtmlUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationSourceIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationSourceTypeFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationLocaleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationTitleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationBodyFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationOutdatedFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationDraftFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationCreatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationUpdatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationUpdatedByIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTranslationCreatedByIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
}
示例8: getFields
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Override
public void getFields( RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep,
VariableSpace space, Repository repository, IMetaStore metaStore ) throws KettleStepException {
super.getFields( inputRowMeta, name, info, nextStep, space, repository, metaStore );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketFieldIdFieldname() ),
ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketFieldUrlFieldname() ),
ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketFieldTypeFieldname() ),
ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketFieldTitleFieldname() ),
ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketFieldActiveFieldname() ),
ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketFieldRequiredFieldname() ),
ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketFieldVisibleEndUsersFieldname() ),
ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCreatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getUpdatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
}
示例9: getFields
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Override
public void getFields( RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep,
VariableSpace space, Repository repository, IMetaStore metaStore ) throws KettleStepException {
super.getFields( inputRowMeta, name, info, nextStep, space, repository, metaStore );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSectionIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSectionUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSectionNameFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCategoryIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getLocaleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSourceLocaleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSectionHtmlUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getOutdatedFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getPositionFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCreatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getUpdatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
}
示例10: getFields
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Override
public void getFields( RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep,
VariableSpace space, Repository repository, IMetaStore metaStore ) throws KettleStepException {
if ( nextStep != null ) {
if ( nextStep.equals( ticketOverviewStepMeta ) ) {
prepareExecutionResultsTicketOverview( inputRowMeta, space );
} else if ( nextStep.equals( ticketCommentsStepMeta ) ) {
prepareExecutionResultsTicketComments( inputRowMeta, space );
} else if ( nextStep.equals( ticketCustomFieldsStepMeta ) ) {
prepareExecutionResultsTicketCustomFields( inputRowMeta, space );
} else if ( nextStep.equals( ticketTagsStepMeta ) ) {
prepareExecutionResultsTicketTags( inputRowMeta, space );
} else if ( nextStep.equals( ticketCollaboratorsStepMeta ) ) {
prepareExecutionResultsTicketCollaborators( inputRowMeta, space );
}
}
}
示例11: prepareExecutionResultsTicketOverview
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
private void prepareExecutionResultsTicketOverview( RowMetaInterface inputRowMeta, VariableSpace space ) throws KettleStepException {
inputRowMeta.clear();
addFieldToRow( inputRowMeta, getTicketIdFieldname(), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getAuditIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getAuditRownumFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCreatedTimeFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getOrganizationIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getRequesterIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getAssigneeIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getGroupIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSubjectFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getStatusFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getPriorityFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getChannelFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTypeFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSatisfactionFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getLocaleFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getDueAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSatisfactionCommentFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getFormIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getBrandIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
}
示例12: getFields
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Override
public void getFields( RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep,
VariableSpace space, Repository repository, IMetaStore metaStore ) throws KettleStepException {
super.getFields( inputRowMeta, name, info, nextStep, space, repository, metaStore );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCategoryIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCategoryUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCategoryNameFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getDescriptionFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getLocaleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSourceLocaleFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCategoryHtmlUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getOutdatedFieldname() ), ValueMetaInterface.TYPE_BOOLEAN );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getPositionFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCreatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getUpdatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
}
示例13: getFields
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Override
public void getFields( RowMetaInterface inputRowMeta, String name, RowMetaInterface[] info, StepMeta nextStep,
VariableSpace space, Repository repository, IMetaStore metaStore ) throws KettleStepException {
super.getFields( inputRowMeta, name, info, nextStep, space, repository, metaStore );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSuspendedTicketIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSuspendedTicketUrlFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getAuthorFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getSubjectFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getContentFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCauseFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getMessageIdFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getTicketIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getRecipientFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getCreatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getUpdatedAtFieldname() ), ValueMetaInterface.TYPE_DATE );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getViaFieldname() ), ValueMetaInterface.TYPE_STRING );
addFieldToRow( inputRowMeta, space.environmentSubstitute( getBrandIdFieldname() ), ValueMetaInterface.TYPE_INTEGER );
}
示例14: testAddFieldToRow
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
@Test
public void testAddFieldToRow() throws KettleStepException {
ZendeskInputMeta meta = new ZendeskInputUsersMeta();
RowMetaInterface row = new RowMeta();
assertTrue( row.isEmpty() );
meta.addFieldToRow( row, "field1", ValueMetaInterface.TYPE_STRING );
assertEquals( 1, row.size() );
assertEquals( "field1", row.getValueMeta( 0 ).getName() );
assertEquals( ValueMetaInterface.TYPE_STRING, row.getValueMeta( 0 ).getType() );
meta.addFieldToRow( row, "", ValueMetaInterface.TYPE_INTEGER );
assertEquals( 1, row.size() );
meta.addFieldToRow( row, null, ValueMetaInterface.TYPE_INTEGER );
assertEquals( 1, row.size() );
try {
meta.addFieldToRow( row, "field2", Integer.MIN_VALUE );
fail();
} catch( KettleStepException expected ) {
// OK
}
}
示例15: publish
import org.pentaho.di.core.exception.KettleStepException; //导入依赖的package包/类
public void publish(SocrataPluginMeta meta, File file, LogChannelInterface log) throws IOException, KettleStepException {
this.log = log;
host = SocrataPublishUtil.setHost(meta);
domain = meta.getDomain();
String credentials = meta.getUser() + ":" + meta.getPassword();
authorize = Base64.getEncoder().encodeToString(credentials.getBytes());
datasetId = meta.getDatasetName();
writerMode = meta.getWriterMode();
errorFileLocation = meta.getErrorFileLocation();
outputFields = meta.getOutputFields();
this.file = file;
this.meta = meta;
if (writerMode.equalsIgnoreCase("Create")) {
writerMode = "Upsert";
isCreate = true;
}
createRevision();
createSource(this.file.toString());
uploadSourceData();
getLatestOutput();
applyRevision();
}