public ChainExecution(Graph graph, BlankNodeOrIRI node) { super(null,graph,node); BlankNodeOrIRI ep = ExecutionMetadataHelper.getExecutionPlanNode(graph, node); if(ep != null){ chainName = EnhancementEngineHelper.getString(graph, ep, ExecutionPlan.CHAIN); } else { chainName = null; } }
public ChainExecution(Graph graph, BlankNodeOrIRI node) { super(null,graph,node); BlankNodeOrIRI ep = ExecutionMetadataHelper.getExecutionPlanNode(graph, node); if(ep != null){ chainName = EnhancementEngineHelper.getString(graph, ep, ExecutionPlan.CHAIN); } else { chainName = null; } }
BlankNodeOrIRI executionPlanNode = ExecutionMetadataHelper.getExecutionPlanNode(em, ExecutionMetadataHelper.getChainExecution(em, ci.getUri())); extractEnhancementProperties(chainExProps, em, executionPlanNode, "Chain Execution");
BlankNodeOrIRI executionPlanNode = ExecutionMetadataHelper.getExecutionPlanNode(em, ExecutionMetadataHelper.getChainExecution(em, ci.getUri())); extractEnhancementProperties(chainExProps, em, executionPlanNode, "Chain Execution");
executionPlanNode = getExecutionPlanNode(em, chainExecutionNode); if(executionPlanNode == null){ throw new IllegalArgumentException("The em:ChainExecution '"
executionPlanNode = getExecutionPlanNode(em, chainExecutionNode); if(executionPlanNode == null){ throw new IllegalArgumentException("The em:ChainExecution '"
"for the given ContentItem '"+contentItem.getUri()+"'!"); executionPlanNode = getExecutionPlanNode(executionMetadata, chainExecutionNode); if(executionPlanNode == null){ throw new IllegalArgumentException("Cannot (re)initialise an EnhancementJob" +
contentItem.getUri(), chainName, isDefaultChain)); chainExecutionNode = getChainExecution(executionMetadata, contentItem.getUri()); executionPlanNode = getExecutionPlanNode(executionMetadata, chainExecutionNode); executionMetadata.addAll(executionPlan); } else {