@eclipse-che/plugin
Advanced tools
Comparing version 0.0.1-1544532290 to 0.0.1-1544617370
{ | ||
"name": "@eclipse-che/plugin", | ||
"version": "0.0.1-1544532290", | ||
"version": "0.0.1-1544617370", | ||
"description": "Eclipse Che specific Theia plugin API", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -198,2 +198,48 @@ /********************************************************************* | ||
/** | ||
* Namespace for variables substitution functionality. | ||
*/ | ||
export namespace variables { | ||
/** | ||
* Register a variable. | ||
* | ||
* @param variable A variable to register. | ||
*/ | ||
export function registerVariable(variable: Variable): Promise<Disposable>; | ||
/** | ||
* Resolve string value. | ||
* | ||
* @param value a string value to resolve. If the string contains '${<variable>}' the pattern will be replaced to a variables value. | ||
*/ | ||
export function resolve(value: string): Promise<string | undefined>; | ||
} | ||
export class Variable { | ||
/** | ||
* Creates a new variable. | ||
* | ||
* @param name The variable's unique name. | ||
* @param description The variable's human-readable description. Is presented in the user interface. | ||
* @param value The variable's value that may be resolved later. | ||
* @param isResolved `true` when there is a value already associated and the variable shouldn't be resolved again, i.e. it's value doesn't depend on the current context. | ||
*/ | ||
constructor(name: string, description: string, value?: string, isResolved?: boolean); | ||
name: string; | ||
description: string; | ||
value?: string; | ||
resolve(): PromiseLike<string | undefined>; | ||
readonly isResolved: boolean; | ||
} | ||
export interface Disposable { | ||
dispose(): PromiseLike<void>; | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
8965
218