接口 Endpoint<T>

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      StringgetId()
      The logical ID of the endpoint.
      Tinvoke()
      Called to invoke the endpoint.
      booleanisEnabled()
      Return if the endpoint is enabled.
      booleanisSensitive()
      Return if the endpoint is sensitive, i.e. may return data that the average user should not see.
    • 方法详细资料

      • getId

        String getId()
        The logical ID of the endpoint. Must only contain simple letters, numbers and '_' characters (i.e. a "\w" regex).
        返回:
        the endpoint ID
      • isEnabled

        boolean isEnabled()
        Return if the endpoint is enabled.
        返回:
        if the endpoint is enabled
      • isSensitive

        boolean isSensitive()
        Return if the endpoint is sensitive, i.e. may return data that the average user should not see. Mappings can use this as a security hint.
        返回:
        if the endpoint is sensitive
      • invoke

        T invoke()
        Called to invoke the endpoint.
        返回:
        the results of the invocation