Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
public readonly value: ActivityDetails,
timestamp?: Timestamp,
) {
super(timestamp);
ensure('value', value, isDefined());
}
}
constructor(
public readonly value: ActivityDetails,
public readonly outcome: Outcome,
timestamp?: Timestamp,
) {
super(timestamp);
ensure('value', value, isDefined());
ensure('outcome', outcome, isDefined());
}
}
constructor(public readonly expression: Expression, public readonly value: number) {
super();
ensure(Expression.name, expression, isDefined());
ensure('Result value', value, isDefined(), isNumber());
}
}
constructor(
public readonly name: Name,
public readonly description: Description,
) {
super();
ensure('name', name, isDefined());
ensure('description', description, isDefined());
}
}
constructor(
public readonly name: Name,
public readonly artifact: Artifact,
timestamp?: Timestamp,
) {
super(timestamp);
ensure('value', artifact, isDefined());
}
}
constructor(
public readonly description: Description,
) {
super();
ensure('description', description, isDefined());
}
}
constructor(
public readonly value: Name,
public readonly timestamp: Timestamp = new Timestamp(),
) {
super();
ensure('value', value, isDefined());
ensure('timestamp', timestamp, isDefined());
}
}
constructor(
public readonly name: Name,
public readonly description: Description,
public readonly values: { [ parameter: string ]: string },
) {
super();
ensure('name', name, isDefined());
ensure('values', values, isDefined());
}
}
callFor(actors: DressingRoom): Stage {
ensure('DressingRoom', actors, isDefined());
this.dressingRoom = actors;
this.actorsOnStage = {};
this.actorInTheSpotlight = null;
return this;
}
constructor(
public readonly value: ScenarioDetails,
public readonly tag: Tag,
timestamp?: Timestamp,
) {
super(timestamp);
ensure('value', value, isDefined());
}
}