jetbrains.buildServer.configs.kotlin.v2019_2.triggers / MavenArtifactDependencyTrigger

MavenArtifactDependencyTrigger

open class MavenArtifactDependencyTrigger : Trigger

A trigger running builds when there is a modification of the maven dependency content.

See Also

mavenArtifact

Constructors

<init>

MavenArtifactDependencyTrigger(init: MavenArtifactDependencyTrigger.() -> Unit)MavenArtifactDependencyTrigger()

A trigger running builds when there is a modification of the maven dependency content.

Properties

artifactId

var artifactId: String?

A watched maven artifact id

artifactType

var artifactType: String?

A type of the watched artifact. By default, the type is "jar".

classifier

var classifier: String?

Optional classifier of the watched artifact.

groupId

var groupId: String?

A maven group identifier to the watched artifact belongs to

repoId

var repoId: String?

Maven repository ID to match authentication from applied maven settings

repoUrl

var repoUrl: String?

Maven repository URL

skipIfRunning

var skipIfRunning: Boolean?

Do not trigger a build if currently running builds can produce this artifact

userSettingsPath

var userSettingsPath: String?

The path to a user settings file

userSettingsSelection

var userSettingsSelection: String?

Use one of the predefined settings files or provide a custom path. By default, the standard Maven settings file location is used.

version

var version: String?

Version or Version range

Inherited Properties

enabled

var enabled: Boolean

Specifies whether the trigger is enabled

id

var id: String?

Trigger id, if not set will be generated

type

var type: String

Trigger type

Functions

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

create

open fun create(): Trigger

Creates an instance of this trigger via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.

toString

open fun toString(): String