Package org.xwiki.resource
Class ResourceType
- java.lang.Object
-
- org.xwiki.resource.ResourceType
-
public class ResourceType extends Object
Represents the type of Resource (eg Entity, Temporary, etc).- Since:
- 6.1M2
- Version:
- $Id: 32633880bd415cffa6dfd91a7aa9b1c3d6985b6b $
-
-
Constructor Summary
Constructors Constructor Description ResourceType(String id)
ResourceType(String id, boolean isStatic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getId()
int
hashCode()
boolean
isStatic()
String
toString()
-
-
-
Constructor Detail
-
ResourceType
public ResourceType(String id, boolean isStatic)
- Parameters:
id
- seegetId()
isStatic
- seeisStatic()
- Since:
- 11.0
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the technical id of the Resource Type
-
isStatic
public boolean isStatic()
- Returns:
- true if this type represents a static resource containing only static content and which should be served directly by the Servlet Container without going through XWiki processing and handling (e.g: a ResourcesResource or a SkinResource)
- Since:
- 11.0
-
-