|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.securedkernel.SecuredSCMAdapterManager
public class SecuredSCMAdapterManager
This manager is used for accessing to SVN and CVS servises
| Constructor Summary | |
|---|---|
SecuredSCMAdapterManager()
|
|
| Method Summary | |
|---|---|
java.util.List |
getCommitsForRepository(SessionContext sc,
java.lang.String taskId)
Get SCM commits, assigned to the current task's repository |
java.util.List |
getCommitsForTask(SessionContext sc,
java.lang.String taskId)
Get SCM commits, assigned to the current task |
java.lang.String |
getDiff(SessionContext sc,
java.lang.String diffURI,
java.lang.String revision,
java.lang.String connectionName)
Returns diff for task |
protected java.util.Set |
getSCMParents(java.lang.String taskId)
Get id of SCM task. |
protected java.util.List |
getTaskReferences(java.lang.String comment)
Parses comment string and returns list of task. |
boolean |
isSVN(SessionContext sc,
java.lang.String taskId)
Return type of scm for the task |
boolean |
isTaskWithSCM(SessionContext sc,
java.lang.String taskId)
Check if task has asigned SCM |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecuredSCMAdapterManager()
| Method Detail |
|---|
protected java.util.Set getSCMParents(java.lang.String taskId)
throws GranException
taskId - task's id
GranException
public boolean isTaskWithSCM(SessionContext sc,
java.lang.String taskId)
throws GranException
sc - session contexttaskId - task's id
GranException
public java.util.List getCommitsForTask(SessionContext sc,
java.lang.String taskId)
throws GranException
sc - session contexttaskId - task's id
GranExceptionSecuredCommitBean
public java.util.List getCommitsForRepository(SessionContext sc,
java.lang.String taskId)
throws GranException
sc - session contexttaskId - task's id
GranExceptionSecuredCommitBean
public boolean isSVN(SessionContext sc,
java.lang.String taskId)
throws GranException
sc - session contexttaskId - task's id
GranExceptionprotected java.util.List getTaskReferences(java.lang.String comment)
comment - input stirng
public java.lang.String getDiff(SessionContext sc,
java.lang.String diffURI,
java.lang.String revision,
java.lang.String connectionName)
throws GranException
sc - session contextdiffURI - uri of diffrevision - revirsion of difconnectionName - SCM Connnection name
GranException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||