Class JobContext
- java.lang.Object
 - 
- com.microsoft.jenkins.azurecommons.JobContext
 
 
- 
@Deprecated public class JobContext extends Object
Deprecated.seeJobContext.Encapsulates the context for a Jenkins build job. 
- 
- 
Constructor Summary
Constructors Constructor Description JobContext(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener taskListener)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EnvVarsenvVars()Deprecated.LaunchergetLauncher()Deprecated.ItemgetOwner()Deprecated.Gets the owner project of this run.Run<?,?>getRun()Deprecated.TaskListenergetTaskListener()Deprecated.FilePathgetWorkspace()Deprecated.PrintStreamlogger()Deprecated.FilePathremoteWorkspace()Deprecated.ByteArrayInputStreamreplaceMacro(InputStream original, boolean enabled)Deprecated. 
 - 
 
- 
- 
Constructor Detail
- 
JobContext
public JobContext(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener taskListener)
Deprecated. 
 - 
 
- 
Method Detail
- 
getRun
public Run<?,?> getRun()
Deprecated. 
- 
getWorkspace
public FilePath getWorkspace()
Deprecated. 
- 
getLauncher
public Launcher getLauncher()
Deprecated. 
- 
getTaskListener
public TaskListener getTaskListener()
Deprecated. 
- 
getOwner
public Item getOwner()
Deprecated.Gets the owner project of this run.- Returns:
 - the owner project
 
 
- 
envVars
public EnvVars envVars()
Deprecated. 
- 
logger
public PrintStream logger()
Deprecated. 
- 
remoteWorkspace
public FilePath remoteWorkspace()
Deprecated. 
- 
replaceMacro
public ByteArrayInputStream replaceMacro(InputStream original, boolean enabled) throws IOException
Deprecated.- Throws:
 IOException
 
 - 
 
 -