public DeploymentNode getDeploymentNodeWithName ( String name ) { if ( name == null || name . trim ( ) . length ( ) == 0 ) { throw new IllegalArgumentException ( "A name must be specified." ) ; } for ( DeploymentNode deploymentNode : getChildren ( ) ) { if ( deploymentNode . getName ( ) . equals ( name ) ) { return deploymentNode ; } } return null ; }
Gets the DeploymentNode with the specified name .