open class PerforceVcsRoot : VcsRoot
Perforce VCS root
sealed class Mode : CompoundParam<Mode> |
PerforceVcsRoot(init: PerforceVcsRoot.() -> Unit) PerforceVcsRoot()
Perforce VCS root |
var charsetName: String?
A charset to use on the client machine |
|
var checkoutRevision: String?
Custom Perforce revision to checkout |
|
var mode: Mode?
A mode of Perforce connection |
|
var nonStreamWorkspace: Boolean?
When set, the created Perforce workspace on agent will not be stream-enabled. The option allows using arbitrary checkout rules, but prohibits commits from agent into the stream. |
|
var p4Path: String?
A path to p4 executable |
|
var password: String?
A password for Perforce connection |
|
var port: String?
A Perforce server address in the "host:port" format |
|
var runP4Clean: Boolean?
Whether TeamCity should run 'p4 clean' command before the build |
|
var skipHaveListUpdate: String?
Whether TeamCity should track files on the Perforce server on sync |
|
var supportUtf16: Boolean?
Enables support for files with UTF-16 encoding |
|
var syncOptions: String?
Additional options for the p4 sync command |
|
var |
|
var userName: String?
A username for Perforce connection |
|
var workspaceOptions: String?
|
var
VCS root id. It appears in web UI and is used in urls. Can be changed at any time. But be aware that some settings use it, e.g. as a part of parameter reference. If you change the id, you should find all its occurrences in the current project and change them too. |
|
var id: String
VCS root id. It appears in web UI and is used in urls. Can be changed at any time. But be aware that some settings use it, e.g. as a part of parameter reference. If you change the id, you should find all its occurrences in the current project and change them too. |
|
var name: String
VCS root name |
|
var pollInterval: Int?
VCS root polling interval |
|
var type: String
VCS type |
|
var uuid: String
VCS root uuid. It is mandatory, TeamCity uses it to identify entities. If root's uuid changes, TeamCity considers it to be a new VCS root. |
fun client(init: Client.() -> Unit = {}): Client
Connect to to Perforce using the specified client name |
|
fun clientMapping(init: ClientMapping.() -> Unit = {}): ClientMapping
Connect to Perforce using the specified client mapping |
|
fun stream(init: Stream.() -> Unit = {}): Stream
Connect to Perforce stream with specified name |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
open fun create(): VcsRoot
Creates an instance of this VCS root 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. |
|
open fun equals(other: Any?): Boolean |
|
open fun toString(): String |