Skip to content
Prev Previous commit
Next Next commit
third variant of SupportingFile for content that needs to be merged
  • Loading branch information
VamshikShetty committed Feb 15, 2019
commit d1fe1de63faa70771ac9df9cac5b398dfcaac2fa
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public class SupportingFile {
public String folder;
public String destinationFilename;

// to add details of submodule generated to main module
public boolean merge = false;

public SupportingFile(String templateFile, String destinationFilename) {
this(templateFile, "", destinationFilename);
}
Expand All @@ -32,6 +35,13 @@ public SupportingFile(String templateFile, String folder, String destinationFile
this.destinationFilename = destinationFilename;
}

public SupportingFile(String templateFile, String folder, String destinationFilename, boolean merge) {
this.templateFile = templateFile;
this.folder = folder;
this.destinationFilename = destinationFilename;
this.merge = merge;
}

@Override
public String toString() {
StringBuilder builder = new StringBuilder();
Expand Down