View Javadoc
1   package org.kuali.common.util.metainf.model;
2   
3   import java.util.List;
4   
5   import org.kuali.common.util.ListUtils;
6   
7   public class ScanResult {
8   
9   	private final MetaInfContext context;
10  	private final List<MetaInfResource> resources;
11  
12  	public ScanResult(MetaInfContext context, List<MetaInfResource> resources) {
13  		this.context = context;
14  		this.resources = ListUtils.newImmutableArrayList(resources);
15  	}
16  
17  	public MetaInfContext getContext() {
18  		return context;
19  	}
20  
21  	public List<MetaInfResource> getResources() {
22  		return resources;
23  	}
24  
25  }