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; }
pluginExecution.setInherited( interpolatedTrimmed( parser.nextText(), "inherited" ) );
pluginExecution.setInherited( interpolatedTrimmed( parser.nextText(), "inherited" ) );
public PluginExecution get() { PluginExecution execution = new PluginExecution(); if (configuration != null) { execution.setConfiguration(configuration); } if (goals != null) { execution.setGoals(goals); } execution.setId(id); execution.setInherited(inherited); execution.setPhase(phase); execution.setPriority(priority); return execution; }
pluginExecution.setInherited( getTrimmedValue( value ) );
ex.setInherited(inherited.getValue()); } else { ex.setInherited(false); if (oldEx != null) { ex.setConfiguration(Xpp3Dom.mergeXpp3Dom((Xpp3Dom) oldEx.getConfiguration(), (Xpp3Dom) ex.getConfiguration())); ex.setInherited(oldEx.getInherited()); ex.setPriority(oldEx.getPriority());
/** * 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()); }
pluginExecution.setInherited( getTrimmedValue( parser.nextText() ) );
pluginExecution.setInherited( getTrimmedValue( parser.nextText() ) );