| Package | Description |
|---|---|
| org.sonar.api.workflow | |
| org.sonar.api.workflow.condition | |
| org.sonar.api.workflow.internal |
This package is not considered as API and future versions can break backward-compatibility.
|
| Modifier and Type | Method and Description |
|---|---|
List<Condition> |
Workflow.getConditions(String commandKey) |
| Modifier and Type | Method and Description |
|---|---|
Workflow |
Workflow.addCondition(String commandKey,
Condition condition) |
| Modifier and Type | Class and Description |
|---|---|
class |
AdminRoleCondition
Checks that user has admin rights on project.
|
class |
HasProjectPropertyCondition
Checks that a project property is set, whatever its value.
|
class |
HasReviewPropertyCondition |
class |
NotCondition |
class |
ProjectPropertyCondition |
class |
ResolutionCondition |
class |
StatusCondition |
| Modifier and Type | Method and Description |
|---|---|
static Condition |
Conditions.hasAdminRole() |
static Condition |
Conditions.hasProjectProperty(String propertyKey) |
static Condition |
Conditions.hasReviewProperty(String propertyKey) |
static Condition |
Conditions.not(Condition c) |
static Condition |
Conditions.resolutions(String... resolutions) |
static Condition |
Conditions.statuses(String... statuses) |
| Modifier and Type | Method and Description |
|---|---|
static Condition |
Conditions.not(Condition c) |
| Constructor and Description |
|---|
NotCondition(Condition c) |
| Modifier and Type | Method and Description |
|---|---|
List<Condition> |
DefaultWorkflow.getConditions(String commandKey)
Shortcut for: getReviewConditions(commandKey) + getContextConditions(commandKey)
|
List<Condition> |
DefaultWorkflow.getContextConditions(String commandKey) |
List<Condition> |
DefaultWorkflow.getReviewConditions(String commandKey) |
| Modifier and Type | Method and Description |
|---|---|
Workflow |
DefaultWorkflow.addCondition(String commandKey,
Condition condition) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.