com.atlassian.mywork.service
Interface ActionService


public interface ActionService

This service is responsible for executing inline actions.


Method Summary
 ActionResult execute(java.lang.String username, org.codehaus.jackson.JsonNode action)
          Executes an action as the given user.
 java.lang.String getApplication()
           
 

Method Detail

getApplication

java.lang.String getApplication()
Returns:
application name to identify this service.

execute

ActionResult execute(java.lang.String username,
                     org.codehaus.jackson.JsonNode action)
Executes an action as the given user.

Parameters:
username - username of the user to perform the action as
action - action to perform
Returns:
result describing the execution


Copyright © 2013 Atlassian. All Rights Reserved.