Search
Preparing search index...
The search index is not available
@atomist/sdm
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"core/handlers/events/delivery/goals/goalExecution"
GoalExecutionRequestProcessor
Class GoalExecutionRequestProcessor
Hierarchy
AbstractRequestProcessor
GoalExecutionRequestProcessor
Implements
RequestProcessor
Index
Constructors
constructor
Properties
automations
configuration
graph
Clients
listeners
Methods
clear
Namespace
create
And
Wrap
Message
Client
create
Graph
Client
create
Message
Client
invoke
Command
invoke
Event
process
Command
process
Event
send
Command
Status
send
Event
Status
send
Status
Message
setup
Namespace
Constructors
constructor
new
Goal
Execution
Request
Processor
(
automations
:
AutomationServer
, configuration
:
Configuration
, listeners
?:
AutomationEventListener
[]
)
:
GoalExecutionRequestProcessor
Parameters
automations:
AutomationServer
configuration:
Configuration
Default value
listeners:
AutomationEventListener
[]
= []
Returns
GoalExecutionRequestProcessor
Properties
Protected
automations
automations
:
AutomationServer
Protected
configuration
configuration
:
Configuration
Private
Readonly
graph
Clients
graph
Clients
:
GraphClientFactory
Protected
listeners
listeners
:
AutomationEventListener
[]
Methods
Protected
clear
Namespace
clear
Namespace
(
)
:
void
Returns
void
Protected
create
And
Wrap
Message
Client
create
And
Wrap
Message
Client
(
event
:
EventIncoming
|
CommandIncoming
, context
:
HandlerContext
&
AutomationContextAware
)
:
MessageClient
&
SlackMessageClient
Parameters
event:
EventIncoming
|
CommandIncoming
context:
HandlerContext
&
AutomationContextAware
Returns
MessageClient
&
SlackMessageClient
Protected
create
Graph
Client
create
Graph
Client
(
event
:
CommandIncoming
|
EventIncoming
)
:
GraphClient
Parameters
event:
CommandIncoming
|
EventIncoming
Returns
GraphClient
Protected
create
Message
Client
create
Message
Client
(
event
:
EventIncoming
|
CommandIncoming
, context
:
AutomationContextAware
)
:
MessageClient
Parameters
event:
EventIncoming
|
CommandIncoming
context:
AutomationContextAware
Returns
MessageClient
Protected
invoke
Command
invoke
Command
(
ci
:
CommandInvocation
, ctx
:
HandlerContext
&
AutomationContextAware
, command
:
CommandIncoming
, callback
:
(
result
:
Promise
<
HandlerResult
>
)
=>
void
)
:
void
Parameters
ci:
CommandInvocation
ctx:
HandlerContext
&
AutomationContextAware
command:
CommandIncoming
callback:
(
result
:
Promise
<
HandlerResult
>
)
=>
void
(
result
:
Promise
<
HandlerResult
>
)
:
void
Parameters
result:
Promise
<
HandlerResult
>
Returns
void
Returns
void
Protected
invoke
Event
invoke
Event
(
ef
:
EventFired
<
any
>
, ctx
:
HandlerContext
&
AutomationContextAware
, event
:
EventIncoming
, callback
:
(
results
:
Promise
<
HandlerResult
[]
>
)
=>
void
)
:
void
Parameters
ef:
EventFired
<
any
>
ctx:
HandlerContext
&
AutomationContextAware
event:
EventIncoming
callback:
(
results
:
Promise
<
HandlerResult
[]
>
)
=>
void
(
results
:
Promise
<
HandlerResult
[]
>
)
:
void
Parameters
results:
Promise
<
HandlerResult
[]
>
Returns
void
Returns
void
process
Command
process
Command
(
command
:
CommandIncoming
, callback
?:
(
result
:
Promise
<
HandlerResult
>
)
=>
void
)
:
void
Parameters
command:
CommandIncoming
Optional
callback:
(
result
:
Promise
<
HandlerResult
>
)
=>
void
(
result
:
Promise
<
HandlerResult
>
)
:
void
Parameters
result:
Promise
<
HandlerResult
>
Returns
void
Returns
void
process
Event
process
Event
(
event
:
EventIncoming
, callback
?:
(
results
:
Promise
<
HandlerResult
[]
>
)
=>
void
)
:
void
Parameters
event:
EventIncoming
Optional
callback:
(
results
:
Promise
<
HandlerResult
[]
>
)
=>
void
(
results
:
Promise
<
HandlerResult
[]
>
)
:
void
Parameters
results:
Promise
<
HandlerResult
[]
>
Returns
void
Returns
void
send
Command
Status
send
Command
Status
(
success
:
boolean
, code
:
number
, request
:
CommandIncoming
, ctx
:
HandlerContext
&
AutomationContextAware
)
:
Promise
<
any
>
Parameters
success:
boolean
code:
number
request:
CommandIncoming
ctx:
HandlerContext
&
AutomationContextAware
Returns
Promise
<
any
>
send
Event
Status
send
Event
Status
(
success
:
boolean
, request
:
EventFired
<
any
>
, event
:
EventIncoming
, ctx
:
HandlerContext
&
AutomationContextAware
)
:
Promise
<
any
>
Parameters
success:
boolean
request:
EventFired
<
any
>
event:
EventIncoming
ctx:
HandlerContext
&
AutomationContextAware
Returns
Promise
<
any
>
Protected
send
Status
Message
send
Status
Message
(
payload
:
any
, ctx
:
HandlerContext
&
AutomationContextAware
)
:
Promise
<
any
>
Parameters
payload:
any
ctx:
HandlerContext
&
AutomationContextAware
Returns
Promise
<
any
>
Protected
setup
Namespace
setup
Namespace
(
request
:
any
, automations
:
AutomationServer
, invocationId
?:
string
, ts
?:
number
)
:
{
correlationId
:
any
;
invocationId
:
string
;
name
:
string
;
operation
:
any
;
ts
:
number
;
version
:
string
;
workspaceId
:
any
;
workspaceName
:
any
}
Parameters
request:
any
automations:
AutomationServer
Optional
invocationId:
string
Optional
ts:
number
Returns
{
correlationId
:
any
;
invocationId
:
string
;
name
:
string
;
operation
:
any
;
ts
:
number
;
version
:
string
;
workspaceId
:
any
;
workspaceName
:
any
}
correlation
Id
:
any
invocation
Id
:
string
name
:
string
operation
:
any
ts
:
number
version
:
string
workspace
Id
:
any
workspace
Name
:
any
Globals
"core/handlers/events/delivery/goals/goal
Execution"
Filtering
Metadata
Processor
Goal
Execution
Automation
Event
Listener
Goal
Execution
Request
Processor
constructor
automations
configuration
graph
Clients
listeners
clear
Namespace
create
And
Wrap
Message
Client
create
Graph
Client
create
Message
Client
invoke
Command
invoke
Event
process
Command
process
Event
send
Command
Status
send
Event
Status
send
Status
Message
setup
Namespace
No
OpMessage
Client
Generated using
TypeDoc