(value: unknown)
| 138 | } |
| 139 | |
| 140 | public set(value: unknown): BuildStepInput { |
| 141 | if (this.required && value === undefined) { |
| 142 | throw new BuildStepRuntimeError( |
| 143 | `Input parameter "${this.id}" for step "${this.stepDisplayName}" is required.` |
| 144 | ); |
| 145 | } |
| 146 | |
| 147 | this._value = value; |
| 148 | return this; |
| 149 | } |
| 150 | |
| 151 | public isRawValueOneOfAllowedValues(): boolean { |
| 152 | const value = this._value ?? this.defaultValue; |
no outgoing calls