org.sonar.api.workflow.internal
Class DefaultWorkflowContext
java.lang.Object
org.sonar.api.workflow.internal.DefaultWorkflowContext
- All Implemented Interfaces:
- WorkflowContext
@Beta
public final class DefaultWorkflowContext
- extends Object
- implements WorkflowContext
- Since:
- 3.1
DefaultWorkflowContext
public DefaultWorkflowContext()
getUserId
public Long getUserId()
- Specified by:
getUserId
in interface WorkflowContext
setUserId
public DefaultWorkflowContext setUserId(Long l)
getUserLogin
public String getUserLogin()
- Specified by:
getUserLogin
in interface WorkflowContext
setUserLogin
public DefaultWorkflowContext setUserLogin(String s)
getUserName
public String getUserName()
- Specified by:
getUserName
in interface WorkflowContext
setUserName
public DefaultWorkflowContext setUserName(String s)
getUserEmail
public String getUserEmail()
- Specified by:
getUserEmail
in interface WorkflowContext
setUserEmail
public DefaultWorkflowContext setUserEmail(String userEmail)
isAdmin
public boolean isAdmin()
- Specified by:
isAdmin
in interface WorkflowContext
setIsAdmin
public DefaultWorkflowContext setIsAdmin(boolean b)
getProjectId
public Long getProjectId()
- Description copied from interface:
WorkflowContext
- TODO : to be replaced by getProjectKey()
- Specified by:
getProjectId
in interface WorkflowContext
setProjectId
public DefaultWorkflowContext setProjectId(Long l)
getProjectSettings
public Settings getProjectSettings()
- Specified by:
getProjectSettings
in interface WorkflowContext
setSettings
public DefaultWorkflowContext setSettings(Settings s)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 SonarSource. All Rights Reserved.