public class ScmOperationContextBuilder
extends java.lang.Object
ScmOperationContext
Modifier and Type | Method and Description |
---|---|
ScmOperationContextBuilder |
authContext(com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContext authContext)
Set the auth context
|
ScmOperationContext |
build() |
static ScmOperationContextBuilder |
builder() |
static ScmOperationContextBuilder |
builder(ScmOperationContext context) |
ScmOperationContextBuilder |
frameworkProject(java.lang.String frameworkProject)
set the project name
|
ScmOperationContextBuilder |
jobId(java.lang.String jobId)
Set the job ID
|
ScmOperationContextBuilder |
storageTree(StorageTree storageTree)
Set the storage tree
|
ScmOperationContextBuilder |
userInfo(ScmUserInfo userInfo)
Set the user info
|
public static ScmOperationContextBuilder builder()
public static ScmOperationContextBuilder builder(ScmOperationContext context)
context
- source contextpublic ScmOperationContextBuilder frameworkProject(java.lang.String frameworkProject)
frameworkProject
- project namepublic ScmOperationContextBuilder jobId(java.lang.String jobId)
jobId
- job idpublic ScmOperationContextBuilder authContext(com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContext authContext)
authContext
- auth contextpublic ScmOperationContextBuilder storageTree(StorageTree storageTree)
storageTree
- storage treepublic ScmOperationContextBuilder userInfo(ScmUserInfo userInfo)
userInfo
- user infopublic ScmOperationContext build()