この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

PluginDescribeResult.InputParameter クラス

Process.PluginResult の入力パラメータを説明します。

名前空間

Process.Plugin インターフェースではなく @InvocableMethod アノテーションを使用することをお勧めします。

  • インターフェースは、Blob、Collection、sObject、および Time データ型と一括操作をサポートしていません。インターフェースをクラスに実装すると、クラスはフローからしか参照できません。
  • アノテーションは、すべてのデータ型と一括操作をサポートしています。アノテーションをクラスに実装すると、クラスはフロー、プロセス、および Custom Invocable Actions REST API エンドポイントから参照できます。

ヒント

Process

PluginDescribeResult.InputParameter のコンストラクタ

PluginDescribeResult.InputParameter のコンストラクタは次のとおりです。

PluginDescribeResult.InputParameter(name, description, parameterType, required)

指定された名前、説明、パラメータ種別、必須オプションを使用して、Process.PluginDescribeResult.InputParameter クラスの新しいインスタンスを作成します。

署名

public PluginDescribeResult.InputParameter(String name, String description, Process.PluginDescribeResult.ParameterType parameterType, Boolean required)

パラメータ

name
型: String
プラグインの一意の名前。
description
型: String
プラグインの目的を説明します。
parameterType
型: Process.PluginDescribeResult.ParameterType
入力パラメータのデータ型。
required
型: Boolean
必須である場合は true、それ以外の場合は、false に設定します。

PluginDescribeResult.InputParameter(name, parameterType, required)

指定された名前、パラメータ種別、必須オプションを使用して、Process.PluginDescribeResult.InputParameter クラスの新しいインスタンスを作成します。

署名

public PluginDescribeResult.InputParameter(String name, Process.PluginDescribeResult.ParameterType parameterType, Boolean required)

パラメータ

name
型: String
プラグインの一意の名前。
parameterType
型: Process.PluginDescribeResult.ParameterType
入力パラメータのデータ型。
required
型: Boolean
必須である場合は true、それ以外の場合は、false に設定します。

PluginDescribeResult.InputParameter のプロパティ

PluginDescribeResult.InputParameter のプロパティは次のとおりです���

Description

この省略可能な項目では、プラグインの目的を説明します。

署名

public String Description {get; set;}

プロパティ値

型: String

使用方法

サイズは最大 255 文字です。

Name

プラグインの一意の名前。

署名

public String Name {get; set;}

プロパティ値

型: String

使用方法

サイズは最大 40 文字です。

ParameterType

入力パラメータのデータ型。

署名

public Process.PluginDescribeResult.ParameterType ParameterType {get; set;}

プロパティ値

型: Process.PluginDescribeResult.ParameterType

Required

必須である場合は true、それ以外の場合は、false に設定します。

署名

public Boolean Required {get; set;}

プロパティ値

型: Boolean