1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00

Better documentation.

This commit is contained in:
Cedric Beust 2015-11-23 22:51:57 -08:00
parent 55e6cff0f5
commit 3e6760f8f5

View file

@ -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
} }