Class ResourceUtil

java.lang.Object
org.camunda.bpm.engine.rest.util.ResourceUtil
All Implemented Interfaces:
Resource

public class ResourceUtil extends Object implements Resource
  • Field Details

    • resourceName

      protected String resourceName
    • resourceType

      protected int resourceType
  • Constructor Details

    • ResourceUtil

      public ResourceUtil(String resourceName, int resourceType)
  • Method Details

    • resourceName

      public String resourceName()
      Description copied from interface: Resource
      returns the name of the resource
      Specified by:
      resourceName in interface Resource
    • resourceType

      public int resourceType()
      Description copied from interface: Resource
      an integer representing the type of the resource.
      Specified by:
      resourceType in interface Resource
      Returns:
      the type identitfyer of the resource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object