selectedPlan.getExecutablePlanDefinition().setExecutablePlan(byteArray.toString());
}
private void generateEprintsExecutablePlan() {
IPreservationActionRegistry registry = getMiniMeeRegistry();
Alternative recommendedAlternative = selectedPlan.getRecommendation().getAlternative();
Element eprintsPlan = new Element("eprintsPlan");
Element tool = new Element("tool");
eprintsPlan.addContent(tool);
String id = getToolIdentifier(registry);
Element toolIdentifier = new Element("toolIdentifier").setAttribute("uri", id);
tool.addContent(toolIdentifier);
String settings = selectedPlan.getRecommendation().getAlternative().getExperiment().getSettings();
String toolParameters = registry.getToolParameters(recommendedAlternative.getAction().getUrl());
if (settings != null) {
toolParameters += (" " + settings);
}