public void parameterizeChannel(Channel channel) {
		LocalProperties current = channel.getLocalProperties();
		
		if (isMetBy(current)) {
			// we are met, all is good
			channel.setLocalStrategy(LocalStrategy.NONE);
		}
		else if (this.ordering != null) {
			channel.setLocalStrategy(LocalStrategy.SORT, this.ordering.getInvolvedIndexes(), this.ordering.getFieldSortDirections());
		}
		else if (this.groupedFields != null) {
			boolean[] dirs = new boolean[this.groupedFields.size()];
			Arrays.fill(dirs, true);
			channel.setLocalStrategy(LocalStrategy.SORT, Utils.createOrderedFromSet(this.groupedFields), dirs);
		}
		else {
			channel.setLocalStrategy(LocalStrategy.NONE);
		}
	}
public void parameterizeChannel ( Channel channel ) { LocalProperties current = channel . getLocalProperties ( ) ; if ( isMetBy ( current ) ) { channel . setLocalStrategy ( LocalStrategy . NONE ) ; } else if ( this . ordering != null ) { channel . setLocalStrategy ( LocalStrategy . SORT , this . ordering . getInvolvedIndexes ( ) , this . ordering . getFieldSortDirections ( ) ) ; } else if ( this . groupedFields != null ) { boolean [ ] dirs = new boolean [ this . groupedFields . size ( ) ] ; Arrays . fill ( dirs , true ) ; channel . setLocalStrategy ( LocalStrategy . SORT , Utils . createOrderedFromSet ( this . groupedFields ) , dirs ) ; } else { channel . setLocalStrategy ( LocalStrategy . NONE ) ; } }
Parametrizes the local strategy fields of a channel such that the channel produces the desired local properties.

@param channel The channel to parametrize.