public OverriddenResultConfig( ResultConfig originalResult ) { super( originalResult.getName(), OverriddenResult.class ); setOriginalResult( originalResult ); setOverridingResults( new ArrayList<OverridingResultConfig>() ); }
/** * Copies the specified result config. * * @param config The config to copy. * @return the copy. */ public static ResultConfig copyResultConfig( final ResultConfig config ) { return new ResultConfig( config.getName(), config.getClassName(), copyParams( config.getParams() ) ); }
addTempLink(action, location, Link.TYPE_RESULT, resultConfig.getName()); } else { ViewNode view = new ViewNode(stripLocation(location)); subGraph.addNode(view); addTempLink(action, location, Link.TYPE_RESULT, resultConfig.getName()); addTempLink(action, location, Link.TYPE_REDIRECT, resultConfig.getName()); } else { ViewNode view = new ViewNode(stripLocation(location)); subGraph.addNode(view); addTempLink(action, location, Link.TYPE_REDIRECT, resultConfig.getName());