|| ( element.getInherited() != null ? element.isInherited() : source.isInherited() ) )
String inherited = parentExecution.getInherited();
String inherited = parentExecution.getInherited();
if ( pluginExecution.getInherited() != null ) serializer.startTag( NAMESPACE, "inherited" ).text( pluginExecution.getInherited() ).endTag( NAMESPACE, "inherited" );
public static PluginExecution clonePluginExecution( PluginExecution src ) { PluginExecution result = null; if ( src != null ) { result = new PluginExecution(); result.setId( src.getId() ); result.setGoals( cloneListOfStrings( src.getGoals() ) ); result.setConfiguration( cloneConfiguration( src.getConfiguration() ) ); result.setInherited( src.getInherited() ); result.setPhase( src.getPhase() ); } return result; }
if ( pluginExecution.getInherited() != null ) serializer.attribute( NAMESPACE, "inherited", pluginExecution.getInherited() );
|| ( element.getInherited() != null ? element.isInherited() : source.isInherited() ) )
if (oldEx != null) { ex.setConfiguration(Xpp3Dom.mergeXpp3Dom((Xpp3Dom) oldEx.getConfiguration(), (Xpp3Dom) ex.getConfiguration())); ex.setInherited(oldEx.getInherited()); ex.setPriority(oldEx.getPriority());
if ( pluginExecution.getInherited() != null ) serializer.startTag( NAMESPACE, "inherited" ).text( pluginExecution.getInherited() ).endTag( NAMESPACE, "inherited" );
/** * Method updatePluginExecution * * @param value * @param element * @param counter * @param xmlTag */ protected void updatePluginExecution( PluginExecution value, String xmlTag, Counter counter, Element element ) { Element root = element; Counter innerCount = new Counter( counter.getDepth() + 1 ); findAndReplaceSimpleElement( innerCount, root, "id", value.getId(), "default" ); findAndReplaceSimpleElement( innerCount, root, "phase", value.getPhase(), null ); findAndReplaceSimpleLists( innerCount, root, value.getGoals(), "goals", "goal" ); findAndReplaceSimpleElement( innerCount, root, "inherited", value.getInherited(), null ); findAndReplaceXpp3DOM( innerCount, root, "configuration", (Xpp3Dom) value.getConfiguration() ); } // -- void updatePluginExecution(PluginExecution, String, Counter, Element)
/** * Method updatePluginExecution * * @param value * @param element * @param counter * @param xmlTag */ protected void updatePluginExecution( PluginExecution value, String xmlTag, Counter counter, Element element ) { Element root = element; Counter innerCount = new Counter( counter.getDepth() + 1 ); findAndReplaceSimpleElement( innerCount, root, "id", value.getId(), "default" ); findAndReplaceSimpleElement( innerCount, root, "phase", value.getPhase(), null ); findAndReplaceSimpleLists( innerCount, root, value.getGoals(), "goals", "goal" ); findAndReplaceSimpleElement( innerCount, root, "inherited", value.getInherited(), null ); findAndReplaceXpp3DOM( innerCount, root, "configuration", (Xpp3Dom) value.getConfiguration() ); } // -- void updatePluginExecution(PluginExecution, String, Counter, Element)
/** * Method updatePluginExecution. * * @param value * @param element * @param counter * @param xmlTag */ protected void updatePluginExecution(PluginExecution value, String xmlTag, Counter counter, Element element) { Element root = element; Counter innerCount = new Counter(counter.getDepth() + 1); findAndReplaceSimpleElement(innerCount, root, "id", value.getId(), "default"); findAndReplaceSimpleElement(innerCount, root, "phase", value.getPhase(), null); findAndReplaceSimpleLists(innerCount, root, value.getGoals(), "goals", "goal"); findAndReplaceSimpleElement(innerCount, root, "inherited", value.getInherited(), null); findAndReplaceXpp3DOM(innerCount, root, "configuration", (Xpp3Dom)value.getConfiguration()); } //-- void updatePluginExecution(PluginExecution, String, Counter, Element)
/** * Method updatePluginExecution * * @param value * @param element * @param counter * @param xmlTag */ protected void updatePluginExecution(PluginExecution value, String xmlTag, Counter counter, Element element) { Element root = element; Counter innerCount = new Counter(counter.getDepth() + 1); findAndReplaceSimpleElement(innerCount, root, "id", value.getId(), "default"); findAndReplaceSimpleElement(innerCount, root, "phase", value.getPhase(), null); findAndReplaceSimpleLists(innerCount, root, value.getGoals(), "goals", "goal"); findAndReplaceSimpleElement(innerCount, root, "inherited", value.getInherited(), null); findAndReplaceXpp3DOM(innerCount, root, "configuration", (Xpp3Dom)value.getConfiguration()); } //-- void updatePluginExecution(PluginExecution, String, Counter, Element)
/** * Interpolates elements of the {@link PluginExecution} object. * * @param execution * {@link PluginExecution} object whose elements to interpolate. */ private void interpolateExecution(final PluginExecution execution) { execution.setId( interpolateString(execution.getId())); execution.setInherited( interpolateString(execution.getInherited())); execution.setPhase( interpolateString(execution.getPhase())); interpolateDOM((Xpp3Dom) execution.getConfiguration()); interpolateStrings(execution.getGoals()); }
/** * Method updatePluginExecution. * * @param value * @param element * @param counter * @param xmlTag */ protected void updatePluginExecution( PluginExecution value, String xmlTag, Counter counter, Element element ) { Element root = element; Counter innerCount = new Counter( counter.getDepth() + 1 ); findAndReplaceSimpleElement( innerCount, root, "id", value.getId(), "default" ); findAndReplaceSimpleElement( innerCount, root, "phase", value.getPhase(), null ); findAndReplaceSimpleLists( innerCount, root, value.getGoals(), "goals", "goal" ); findAndReplaceSimpleElement( innerCount, root, "inherited", value.getInherited(), null ); findAndReplaceXpp3DOM( innerCount, root, "configuration", (Xpp3Dom) value.getConfiguration() ); } // -- void updatePluginExecution(PluginExecution, String, Counter, Element)
/** * Method updatePluginExecution. * * @param value * @param element * @param counter * @param xmlTag */ protected void updatePluginExecution(PluginExecution value, String xmlTag, Counter counter, Element element) { Element root = element; Counter innerCount = new Counter(counter.getDepth() + 1); findAndReplaceSimpleElement(innerCount, root, "id", value.getId(), "default"); findAndReplaceSimpleElement(innerCount, root, "phase", value.getPhase(), null); findAndReplaceSimpleLists(innerCount, root, value.getGoals(), "goals", "goal"); findAndReplaceSimpleElement(innerCount, root, "inherited", value.getInherited(), null); findAndReplaceXpp3DOM(innerCount, root, "configuration", (Xpp3Dom) value.getConfiguration()); } // -- void updatePluginExecution(PluginExecution, String, Counter, // Element)
/** * Method updatePluginExecution. * * @param value * @param element * @param counter * @param xmlTag */ protected void updatePluginExecution( PluginExecution value, String xmlTag, Counter counter, Element element ) { Element root = element; Counter innerCount = new Counter( counter.getDepth() + 1 ); findAndReplaceSimpleElement( innerCount, root, "id", value.getId(), "default" ); findAndReplaceSimpleElement( innerCount, root, "phase", value.getPhase(), null ); findAndReplaceSimpleLists( innerCount, root, value.getGoals(), "goals", "goal" ); findAndReplaceSimpleElement( innerCount, root, "inherited", value.getInherited(), null ); findAndReplaceXpp3DOM( innerCount, root, "configuration", (Xpp3Dom) value.getConfiguration() ); } // -- void updatePluginExecution(PluginExecution, String, Counter, Element)