startup();
}
public void startup() throws ExecutionException {
if(getInputSpecification() == null || getInputSpecification().isEmpty()) {
throw new ExecutionException("InputSpecification must be specified");
}
if(getOutputFeature() == null || getOutputFeature().isEmpty()) {
throw new ExecutionException("OutputFeature must be specified");
}
if(getVirtualSpecification() == null || getVirtualSpecification().isEmpty()) {
throw new ExecutionException("VirtualSpecification must be specified");
}
if(languageAnalyser == null) {
throw new ExecutionException("Language Analyser PR not set!");
}
String specfields[];
specfields = splitSpecification(getInputSpecification());
inputSpecificationSet = specfields[0];
inputSpecificationType = specfields[1];
inputSpecificationFeature = specfields[2];
specfields = splitSpecification(getVirtualSpecification());
virtualSpecificationSet = specfields[0];
virtualSpecificationType = specfields[1];
virtualSpecificationFeature = specfields[2];
if(virtualSpecificationFeature == null) {
throw new ExecutionException("VirtualSpecification must include a feature name");
}
if(separatorString != null && !separatorString.isEmpty()) {
actualSeparatorString = Strings.unescape(separatorString);
} else {
actualSeparatorString = "";