java.lang.Object
org.jenkinsci.plugins.ParameterizedRemoteTrigger.BasicBuildContext
org.jenkinsci.plugins.ParameterizedRemoteTrigger.BuildContext

public class BuildContext extends BasicBuildContext
This object wraps a Run, FilePath, TaskListener and PrintStream - the typical objects passed from one method to the other in a Jenkins Builder/BuildStep implementation.

The reason for wrapping is simplicity on the one hand. On the other in an asynchronous pipeline usage via the Handle we might not have a Run, FilePath, TaskListener, but we still want to provide a PrintStream for logging. Therefore the first three objects can be null, the PrintStream must not be null.