public static final class CombinedResourceInfo.Builder extends Object
| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
CombinedResourceInfo.Builder | 
add(ResourceIdentifier resourceIdentifier)
Add the resource represented by the given resource identifier resources of this combined resource info. 
 | 
String | 
create()
Creates the CombinedResourceInfo instance in cache if absent and return its ID. 
 | 
boolean | 
isEmpty()
Returns true if there are no resources been added. 
 | 
public CombinedResourceInfo.Builder add(ResourceIdentifier resourceIdentifier)
resourceIdentifier - The resource identifier of the resource to be added.public boolean isEmpty()
create() if it's unknown
 if there are any resources been added.public String create()
IllegalStateException - If there are no resources been added. So, to prevent it beforehand, use
 the isEmpty() method to check if there are any resources been added.Copyright © 2012–2016 OmniFaces. All rights reserved.