Class ResourceImpl

java.lang.Object
io.camunda.client.impl.response.ResourceImpl
All Implemented Interfaces:
Resource

public class ResourceImpl extends Object implements Resource
  • Constructor Details

    • ResourceImpl

      public ResourceImpl(String resourceId, long resourceKey, Integer version, String resourceName, String tenantId)
  • Method Details

    • getResourceId

      public String getResourceId()
      Specified by:
      getResourceId in interface Resource
      Returns:
      the resource ID, as parsed during deployment; together with the versions forms a unique identifier for a specific resource
    • getResourceKey

      public long getResourceKey()
      Specified by:
      getResourceKey in interface Resource
      Returns:
      the assigned resource key, which acts as a unique identifier for this resource
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface Resource
      Returns:
      the assigned resource version
    • getResourceName

      public String getResourceName()
      Specified by:
      getResourceName in interface Resource
      Returns:
      the name of the resource, as parsed during deployment
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface Resource
      Returns:
      the tenant identifier that owns this resource
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object