public final class CacheKey extends Object implements Serializable
| Constructor and Description |
|---|
CacheKey(String groupName,
ResourceType type,
boolean minimize) |
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
addAttribute(String key,
String value)
Add a custom key-value pair attribute.
|
boolean |
equals(Object obj) |
String |
getGroupName() |
ResourceType |
getType() |
int |
hashCode() |
boolean |
isMinimize() |
String |
toString() |
public CacheKey(String groupName, ResourceType type, boolean minimize)
groupName - name of the group.type - resource type (js or css)minimize - true if the result should produce minimized version.public ResourceType getType()
public String getGroupName()
public boolean isMinimize()
public CacheKey addAttribute(String key, String value)
key - string representing the key of the attribute.value - string representing the value of the attribute.CacheKey used for fluent interface.Copyright © 2008-2013. All Rights Reserved.