Package org.camunda.bpm.engine.rest.util
Class ResourceUtil
- java.lang.Object
-
- org.camunda.bpm.engine.rest.util.ResourceUtil
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringresourceNameprotected intresourceType
-
Constructor Summary
Constructors Constructor Description ResourceUtil(java.lang.String resourceName, int resourceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()java.lang.StringresourceName()returns the name of the resourceintresourceType()an integer representing the type of the resource.
-
-
-
Method Detail
-
resourceName
public java.lang.String resourceName()
Description copied from interface:Resourcereturns the name of the resource- Specified by:
resourceNamein interfaceResource
-
resourceType
public int resourceType()
Description copied from interface:Resourcean integer representing the type of the resource.- Specified by:
resourceTypein interfaceResource- Returns:
- the type identitfyer of the resource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-