org.sonar.api.workflow
Interface Workflow

All Superinterfaces:
ServerComponent
All Known Implementing Classes:
DefaultWorkflow

@Beta
public interface Workflow
extends ServerComponent

Experimental component to customize the actions that can be executed on reviews.

Since:
3.1

Method Summary
 Workflow addCommand(String key)
           
 Workflow addCondition(String commandKey, Condition condition)
           
 Workflow addFunction(String commandKey, Function function)
           
 Set<String> getCommands()
           
 List<Condition> getConditions(String commandKey)
           
 List<Function> getFunctions(String commandKey)
           
 Screen getScreen(String commandKey)
           
 Workflow setScreen(String commandKey, Screen screen)
           
 

Method Detail

addCommand

Workflow addCommand(String key)

getCommands

Set<String> getCommands()

getConditions

List<Condition> getConditions(String commandKey)

addCondition

Workflow addCondition(String commandKey,
                      Condition condition)

getFunctions

List<Function> getFunctions(String commandKey)

addFunction

Workflow addFunction(String commandKey,
                     Function function)

getScreen

Screen getScreen(String commandKey)

setScreen

Workflow setScreen(String commandKey,
                   Screen screen)


Copyright © 2009-2012 SonarSource. All Rights Reserved.