UNPKG

1.21 kBTypeScriptView Raw
1import { BitBucketServerRepoRef } from "@atomist/automation-client/lib/operations/common/BitBucketServerRepoRef";
2import { FallbackParams } from "@atomist/automation-client/lib/operations/common/params/FallbackParams";
3import { TargetsParams } from "@atomist/automation-client/lib/operations/common/params/TargetsParams";
4import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
5import { ValidationResult } from "@atomist/automation-client/lib/SmartParameters";
6import { RepoTargets } from "../../machine/RepoTargets";
7/**
8 * Targets for working with BitBucket repo(s).
9 * Allows use of regex.
10 */
11export declare class BitBucketRepoTargets extends TargetsParams implements FallbackParams, RepoTargets {
12 apiUrl: string;
13 owner: string;
14 repo: string;
15 sha: string;
16 branch: string;
17 repos: string;
18 get credentials(): ProjectOperationCredentials;
19 constructor();
20 /**
21 * Return a single RepoRef or undefined if we're not identifying a single repo
22 * @return {RepoRef}
23 */
24 get repoRef(): BitBucketServerRepoRef;
25 bindAndValidate(): ValidationResult;
26}
27//# sourceMappingURL=BitBucketRepoTargets.d.ts.map
\No newline at end of file