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.String
resourceName
protected int
resourceType
-
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 boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
resourceName()
returns the name of the resourceint
resourceType()
an integer representing the type of the resource.
-
-
-
Method Detail
-
resourceName
public java.lang.String resourceName()
Description copied from interface:Resource
returns the name of the resource- Specified by:
resourceName
in interfaceResource
-
resourceType
public int resourceType()
Description copied from interface:Resource
an integer representing the type of the resource.- Specified by:
resourceType
in interfaceResource
- Returns:
- the type identitfyer of the resource
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-