protected void mergeSite_Name( Site target, Site source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getName(); if ( src != null ) { if ( sourceDominant || target.getName() == null ) { target.setName( src ); target.setLocation( "name", source.getLocation( "name" ) ); } } }
public static Site cloneSite( Site src ) { if ( src == null ) { return null; } Site result = new Site(); result.setId( src.getId() ); result.setName( src.getName() ); result.setUrl( src.getUrl() ); return result; }
site.setName( interpolatedTrimmed( parser.nextText(), "name" ) );
site.setName( interpolatedTrimmed( parser.nextText(), "name" ) );
site.setName( parentDistMgmt.getSite().getName() );
site.setName( parentDistMgmt.getSite().getName() );
site.setName( getTrimmedValue( value ) );
/** * Set human readable name of the deployment location. * * @param name */ public FluentSiteBuilder withName(String name) { site.setName(name); return this; }
protected void mergeSite_Name( Site target, Site source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getName(); if ( src != null ) { if ( sourceDominant || target.getName() == null ) { target.setName( src ); target.setLocation( "name", source.getLocation( "name" ) ); } } }
site.setName( getTrimmedValue( parser.nextText() ) );
site.setName( getTrimmedValue( parser.nextText() ) );