接口 Result

    • 方法详细资料

      • getValue

         getValue()
        Get invoke result.
        返回:
        result. if no result return null.
      • getException

         getException()
        Get exception.
        返回:
        exception. if no exception return null.
      • hasException

        boolean hasException()
        Has exception.
        返回:
        has exception.
      • recreate

         recreate()
                 throws 
        Recreate.

        if (hasException()) { throw getException(); } else { return getValue(); }

        返回:
        result.
        抛出:
      • getResult

         getResult()
        已过时。
        Replace to getValue()
        另请参阅:
        getValue()
      • getAttachments

        <,​> getAttachments()
        get attachments.
        返回:
        attachments.
      • getAttachment

         getAttachment​( key)
        get attachment by key.
        返回:
        attachment value.
      • getAttachment

         getAttachment​( key,
                              defaultValue)
        get attachment by key with default value.
        返回:
        attachment value.