Class GlanceTask

    • Constructor Detail

      • GlanceTask

        public GlanceTask()
    • Method Detail

      • getCreatedAt

        public Date getCreatedAt()
        Description copied from interface: Task
        Date and time task was created.
        Specified by:
        getCreatedAt in interface Task
      • getExpiresAt

        public Date getExpiresAt()
        Description copied from interface: Task
        The date and time the task is subject to removal. The result of the task will still exist.
        Specified by:
        getExpiresAt in interface Task
      • getUpdatedAt

        public Date getUpdatedAt()
        Description copied from interface: Task
        The date and time the task was updated.
        Specified by:
        getUpdatedAt in interface Task
      • getId

        public String getId()
        Description copied from interface: Task
        Identifier for the task, a UUID.
        Specified by:
        getId in interface Task
      • getInput

        public Map<String,​Object> getInput()
        Description copied from interface: Task
        A JSON object specifying the input parameters of the task.
        Specified by:
        getInput in interface Task
      • getMessage

        public String getMessage()
        Description copied from interface: Task
        Human readable text, possibly and empty string, usually displayed in an error situation to provide more information about what has occurred.
        Specified by:
        getMessage in interface Task
      • getOwner

        public String getOwner()
        Description copied from interface: Task
        Identifier for owner of the task, usually tenant ID.
        Specified by:
        getOwner in interface Task
      • getResult

        public Map<String,​String> getResult()
        Description copied from interface: Task
        A JSON object specifying information about the ultimate outcome of the task.
        Specified by:
        getResult in interface Task
      • getSchema

        public String getSchema()
        Description copied from interface: Task
        The URI for the schema describing an image task.
        Specified by:
        getSchema in interface Task
      • getStatus

        public Task.TaskStatus getStatus()
        Description copied from interface: Task
        The status of the task.
        Specified by:
        getStatus in interface Task
        Returns:
        taskStatus
      • getType

        public String getType()
        Description copied from interface: Task
        The type of task represented by this content.
        Specified by:
        getType in interface Task
      • getSelf

        public String getSelf()
        Description copied from interface: Task
        A URI for this task.
        Specified by:
        getSelf in interface Task