Liking cljdoc? Tell your friends :D

com.atomist.automation.core


actionable-messageclj

(actionable-message o slack & [opts])

params o - incoming command request or event payload slack - slack Message data where all actions may refer to other CommandHandlers

  params
o       - incoming command request or event payload
slack   - slack Message data where all actions may refer to
          other CommandHandlers
sourceraw docstring

add-slack-sourceclj

(add-slack-source command team-id team-name)
source

api-connectionclj

source

automation-urlclj

(automation-url end)
source

channelclj

(channel o c)

set message destination channel name params o - command request or incoming event payload c - string name of message channel

set message destination channel name
params
  o      - command request or incoming event payload
  c      - string name of message channel
sourceraw docstring

connectionclj

source

delete-registrationclj

(delete-registration session-id)
source

failed-statusclj

(failed-status o)

on command request, send status that the invocation failed

on command request, send status that the invocation failed
sourceraw docstring

get-parameter-valueclj

(get-parameter-value o parameter-name)

search command request for parameter params o - command request parameter-name - string name returns nil if there's no parameter

search command request for parameter
params
  o              - command request
  parameter-name - string name
returns nil if there's no parameter
sourceraw docstring

get-registrationclj

(get-registration)
source

get-secret-valueclj

(get-secret-value o secret-name)

search command request for mapped parameter params o - command request secret-name - string name returns nil if there's no parameter

search command request for mapped parameter
params
  o              - command request
  secret-name - string name
returns nil if there's no parameter
sourceraw docstring

get-team-idclj

(get-team-id o)

get team-id from incoming command request or event payload params o - incoming command request or event payload

get team-id from incoming command request or event payload
params
  o - incoming command request or event payload
sourceraw docstring

get-tokenclj

(get-token)
source

guidclj

(guid)
source

ingestclj

(ingest o x channel)

ingest a new custom event params o - incoming event or command request x - custom event channel - name of custom event channel

ingest a new custom event
params
  o         - incoming event or command request
  x         - custom event
  channel   - name of custom event channel
sourceraw docstring

mapped-parameter-valueclj

(mapped-parameter-value o parameter-name)

search command request for mapped parameter params o - command request parameter-name - string name returns nil if there's no parameter

search command request for mapped parameter
params
  o              - command request
  parameter-name - string name
returns nil if there's no parameter
sourceraw docstring

pprint-data-messageclj

(pprint-data-message o data)
source

(print-api)
source

registerclj

(register)

Register for events and listen on websocket

Register for events and listen on websocket
sourceraw docstring

run-queryclj

(run-query team-id query)

An automation can run queries on an open-ended set of teams (it can be registered to multiple teams. params team-id - Atomist workspace id query - string graphql query returns nil for errors or the body of the query response

An automation can run queries on an open-ended set of teams (it can be registered to multiple teams.
params
  team-id  - Atomist workspace id
  query    - string graphql query
returns nil for errors or the body of the query response
sourceraw docstring

simple-messageclj

(simple-message o s)

send simple message as bot params o - command request or event s - string message

send simple message as bot
params
  o - command request or event
  s - string message
sourceraw docstring

snippet-messageclj

(snippet-message o content-str filetype title)

send snippet as bot params o - command request or event content-str - content as string filetype - valid slack filetype title - string title

send snippet as bot
params
  o           - command request or event
  content-str - content as string
  filetype    - valid slack filetype
  title       - string title
sourceraw docstring

success-statusclj

(success-status o)

on command request, send status that the invocation was successful

on command request, send status that the invocation was successful
sourceraw docstring

update-when-seqclj

(update-when-seq a-map k fn)
source

userclj

(user o u)

set message destination to user DM params o - command request or incoming event payload c - string name of user to DM

set message destination to user DM
params
  o      - command request or incoming event payload
  c      - string name of user to DM
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close