Skip to content

Commit

Permalink
MEI Customization Service
Browse files Browse the repository at this point in the history
  • Loading branch information
roewenstrunk committed Oct 24, 2019
1 parent daa1fe5 commit c5e9a41
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
16 changes: 8 additions & 8 deletions src/main/java/pl/psnc/dl/ege/EGE.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package pl.psnc.dl.ege;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
Expand All @@ -8,10 +9,7 @@

import pl.psnc.dl.ege.component.Customization;
import pl.psnc.dl.ege.exception.*;
import pl.psnc.dl.ege.types.ConversionsPath;
import pl.psnc.dl.ege.types.CustomizationSetting;
import pl.psnc.dl.ege.types.DataType;
import pl.psnc.dl.ege.types.ValidationResult;
import pl.psnc.dl.ege.types.*;

/**
* <p>
Expand Down Expand Up @@ -105,9 +103,9 @@ public ValidationResult performValidation(final InputStream inputData,
*
* @param customizationSetting
* customization setting
* @param sourceId
* @param sourceInputType
* source
* @param customizationId
* @param customizationInputType
* customization
* @param outputFormat
* outputFormat
Expand All @@ -118,8 +116,10 @@ public ValidationResult performValidation(final InputStream inputData,
* @throws {@link EGEException}
*/
public void performCustomization(final CustomizationSetting customizationSetting,
final String sourceId, final String customizationId,
final String outputFormat, final OutputStream outputStream)
final CustomizationSourceInputType sourceInputType,
final CustomizationSourceInputType customizationInputType,
final String outputFormat, final OutputStream outputStream,
final File localSourceFile, final File localCustomizationFile)
throws IOException, EGEException;

/**
Expand Down
7 changes: 5 additions & 2 deletions src/main/java/pl/psnc/dl/ege/component/Customization.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import pl.psnc.dl.ege.exception.CustomizationException;
import pl.psnc.dl.ege.exception.EGEException;
import pl.psnc.dl.ege.types.CustomizationSetting;
import pl.psnc.dl.ege.types.CustomizationSourceInputType;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
Expand All @@ -26,8 +28,9 @@ public interface Customization {
* @throws {@link CustomizationException}
* @throws {@link EGEException}
*/
void customize(CustomizationSetting customizationSetting, String sourceId,
String customizationId, String outputFormat, OutputStream outputStream)
void customize(CustomizationSetting customizationSetting, CustomizationSourceInputType sourceId,
CustomizationSourceInputType customizationId, String outputFormat, OutputStream outputStream,
File localSourceFile, File localCustomizationFile)
throws IOException, EGEException;

/**
Expand Down

0 comments on commit c5e9a41

Please sign in to comment.