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 String
resourceName
protected int
resourceType
-
Constructor Summary
Constructors Constructor Description ResourceUtil(String resourceName, int resourceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
String
resourceName()
returns the name of the resourceint
resourceType()
an integer representing the type of the resource.
-
-
-
Field Detail
-
resourceName
protected String resourceName
-
resourceType
protected int resourceType
-
-
Constructor Detail
-
ResourceUtil
public ResourceUtil(String resourceName, int resourceType)
-
-
Method Detail
-
resourceName
public 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
-
-