code: public void readTask(Task task) {
          Map<String, String> props = task.getProperties();
          setAccount(props.get(ACCOUNT_PROP));
          setStoreId(props.get(STORE_ID_PROP));
          setSpaceId(props.get(SPACE_ID_PROP));
          this.attempts = task.getAttempts();
      }
docs: Reads the information stored in a Task and sets data in the SpaceCentricTypedTask
  
  @param task