Package com.dtolabs.rundeck.plugins.scm
Interface ScmOperationContext
-
public interface ScmOperationContextContext for scm import/export actions, including authorization info and storage tree access
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContextgetAuthContext()java.lang.StringgetFrameworkProject()Get the framework project namejava.lang.StringgetJobId()ID of a jobStorageTreegetStorageTree()ScmUserInfogetUserInfo()
-
-
-
Method Detail
-
getFrameworkProject
java.lang.String getFrameworkProject()
Get the framework project name- Returns:
- project name
-
getJobId
java.lang.String getJobId()
ID of a job- Returns:
- Job ID, or null
-
getAuthContext
com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContext getAuthContext()
- Returns:
- the authorization context
-
getStorageTree
StorageTree getStorageTree()
- Returns:
- the storage service
-
getUserInfo
ScmUserInfo getUserInfo()
- Returns:
- username
-
-