only: minor API clean-up
This commit is contained in:
parent
b7b36c18cc
commit
7f00f80cc8
|
@ -134,7 +134,7 @@ public class ConfigDefinition {
|
|||
break;
|
||||
case KEY_SIGNATURE:
|
||||
signaturePrependFile = args[i + 1];
|
||||
state.getPrependFiles().add(args[i + 1]);
|
||||
state.addPrependNotInput(signaturePrependFile);
|
||||
// don't add this file to the 'inputFiles'
|
||||
break;
|
||||
case KEY_SIGNATURE_DESTINATION:
|
||||
|
|
|
@ -22,6 +22,8 @@ public interface ReaderState {
|
|||
|
||||
void addPrepend(String fileName);
|
||||
|
||||
void addPrependNotInput(String fileName);
|
||||
|
||||
void addDestination(ConfigurationConsumer... consumers);
|
||||
|
||||
VariableRegistry getVariableRegistry();
|
||||
|
@ -38,8 +40,6 @@ public interface ReaderState {
|
|||
|
||||
void setTsFileOutputName(String tsFileOutputName);
|
||||
|
||||
List<String> getPrependFiles();
|
||||
|
||||
boolean isStackEmpty();
|
||||
|
||||
ConfigStructure peek();
|
||||
|
|
|
@ -414,8 +414,13 @@ public class ReaderStateImpl implements ReaderState {
|
|||
// see LiveDataProcessor use-case with dynamic prepend usage
|
||||
return;
|
||||
}
|
||||
prependFiles.add(fileName);
|
||||
inputFiles.add(fileName);
|
||||
addPrependNotInput(fileName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addPrependNotInput(String fileName) {
|
||||
prependFiles.add(fileName);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -462,11 +467,6 @@ public class ReaderStateImpl implements ReaderState {
|
|||
this.tsFileOutputName = tsFileOutputName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> getPrependFiles() {
|
||||
return prependFiles;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isStackEmpty() {
|
||||
return stack.isEmpty();
|
||||
|
|
Loading…
Reference in New Issue