mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Better documentation.
This commit is contained in:
parent
55e6cff0f5
commit
3e6760f8f5
1 changed files with 5 additions and 1 deletions
|
@ -3,10 +3,14 @@ package com.beust.kobalt.api
|
||||||
import com.beust.kobalt.TaskResult
|
import com.beust.kobalt.TaskResult
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugins that can implement the "task" run should implement this interface.
|
* Plugins that can run a project (task "run") should implement this interface.
|
||||||
*/
|
*/
|
||||||
interface IRunContributor : IContributor {
|
interface IRunContributor : IContributor {
|
||||||
companion object {
|
companion object {
|
||||||
|
/**
|
||||||
|
* The recommended default affinity if your plug-in can run this project. Use a higher
|
||||||
|
* number if you expect to compete against other runners and you'd like to win over them.
|
||||||
|
*/
|
||||||
const val DEFAULT_POSITIVE_AFFINITY = 100
|
const val DEFAULT_POSITIVE_AFFINITY = 100
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue