ro.isdc.wro.cache
Class CacheEntry

java.lang.Object
  extended by ro.isdc.wro.cache.CacheEntry
All Implemented Interfaces:
Serializable

public final class CacheEntry
extends Object
implements Serializable

Used as an entry for the cache.

See Also:
Serialized Form

Constructor Summary
CacheEntry(String groupName, ResourceType type, boolean minimize)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getGroupName()
           
 ResourceType getType()
           
 int hashCode()
          
 boolean isMinimize()
           
 void setMinimize(boolean minimize)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheEntry

public CacheEntry(String groupName,
                  ResourceType type,
                  boolean minimize)
Parameters:
groupName - name of the group.
type - resource type (js or css)
minimize - true if the result should produce minimized version.
Method Detail

getType

public ResourceType getType()
Returns:
the type

getGroupName

public String getGroupName()
Returns:
the groupName

isMinimize

public boolean isMinimize()
Returns:
the minimize

setMinimize

public void setMinimize(boolean minimize)
Parameters:
minimize - the minimize to set

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2008-2011. All Rights Reserved.