Class Resource


  • public class Resource
    extends Object
    A Resource object that is associated with an Error.
    Since:
    0.0.1
    • Constructor Detail

      • Resource

        public Resource​(String id,
                        String name,
                        String version)
        Create an instance of a Resource.
        Parameters:
        id - the ID of the resource
        name - the name of the resource
        version - the version of the resource
    • Method Detail

      • getId

        public String getId()
        Get the ID of the resource
        Returns:
        the resource ID
      • getName

        public String getName()
        Get the name of the resource.
        Returns:
        the resource name
      • getVersion

        public String getVersion()
        Get the version of the resource that erred.
        Returns:
        the resource version