Search
Preparing search index...
The search index is not available
@atomist/automation-client
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"onCommand"
FunctionWrappingCommandHandler
Class FunctionWrappingCommandHandler<P>
Type parameters
P
Hierarchy
FunctionWrappingCommandHandler
Implements
HandleCommand
<
P
,
this
>
&
CommandHandlerMetadata
Index
Constructors
constructor
Properties
_intent
_question
_tags
auto
Submit
auto_
submit
description
h
intent
mapped_
parameters
name
parameters
parameters
Factory
question
secrets
tags
values
Methods
fresh
Parameters
Instance
handle
Constructors
constructor
new
Function
Wrapping
Command
Handler
(
name
:
string
, description
:
string
, h
:
OnCommand
<
P
>
, parametersFactory
:
Maker
<
P
>
, _tags
?:
string
|
string
[]
, _intent
?:
string
|
string
[]
, autoSubmit
?:
boolean
, _question
?:
QuestionStyle
)
:
FunctionWrappingCommandHandler
Parameters
name:
string
description:
string
h:
OnCommand
<
P
>
parametersFactory:
Maker
<
P
>
Default value
_tags:
string
|
string
[]
= []
Default value
_intent:
string
|
string
[]
= []
Default value
autoSubmit:
boolean
= false
Optional
_question:
QuestionStyle
Returns
FunctionWrappingCommandHandler
Properties
Private
Readonly
_intent
_intent
:
string
|
string
[]
Optional
_question
_question
:
QuestionStyle
Private
Readonly
_tags
_tags
:
string
|
string
[]
Private
Readonly
auto
Submit
auto
Submit
:
boolean
auto_
submit
auto_
submit
:
boolean
description
description
:
string
Private
Readonly
h
h
:
OnCommand
<
P
>
Optional
intent
intent
:
string
[]
mapped_
parameters
mapped_
parameters
:
MappedParameterDeclaration
[]
name
name
:
string
parameters
parameters
:
Parameter
[]
Private
Readonly
parameters
Factory
parameters
Factory
:
Maker
<
P
>
question
question
:
"dialog"
|
"threaded"
|
"unthreaded"
|
"dialog_action"
Optional
secrets
secrets
:
SecretDeclaration
[]
Optional
tags
tags
:
Tag
[]
Optional
values
values
:
ValueDeclaration
[]
Methods
fresh
Parameters
Instance
fresh
Parameters
Instance
(
)
:
P
Returns
P
handle
handle
(
ctx
:
HandlerContext
, params
:
P
)
:
Promise
<
HandlerResult
>
|
Promise
<
any
>
Parameters
ctx:
HandlerContext
params:
P
Returns
Promise
<
HandlerResult
>
|
Promise
<
any
>
Globals
"on
Command"
Question
Style
Function
Wrapping
Command
Handler
constructor
_intent
_question
_tags
auto
Submit
auto_
submit
description
h
intent
mapped_
parameters
name
parameters
parameters
Factory
question
secrets
tags
values
fresh
Parameters
Instance
handle
On
Command
add
Reg
ExIntent
Anchors
command
Handler
From
parse
Reg
ExIntent
Generated using
TypeDoc