function resp = getBuildConfigsAndOptions(h,varargin)

%   Copyright 2014 The MathWorks, Inc.

narginchk( 1, 2 );
config = h.getBuildConfiguration( varargin{ : } );
unorderedOptsAndValues = config.getOptionsAndValues( 'filter' );
resp = h.orderBuildConfigsAndOptions( unorderedOptsAndValues );
end
