|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BugTrackerLocalService
| Method Summary | ||
|---|---|---|
BugTrackerStatus |
checkBugTrackerStatus()
tests if the bugtracker is ready for use |
|
org.squashtest.csp.core.bugtracker.domain.BTIssue |
createIssue(Bugged entity,
org.squashtest.csp.core.bugtracker.domain.BTIssue issue)
adds a new Issue to the entity. |
|
|
findBuggedEntity(Long entityId,
Class<X> entityClass)
returns an instance of an entity that implements Bugged, provided its id and actual class. |
|
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findBugTrackerIssues(Bugged buggedEntity,
CollectionSorting sorter)
Given a Bugged Entity, returns a list of BTIssue (not Issue). |
|
org.squashtest.csp.core.bugtracker.domain.BTProject |
findRemoteProject(String name)
returns an instance of the remote project. |
|
FilteredCollectionHolder<List<IssueOwnership<Issue>>> |
findSquashIssues(Bugged buggedEntity,
CollectionSorting sorter)
Given a Bugged Entity, returns a list of Issue (not BTIssue). |
|
org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor |
getInterfaceDescriptor()
An InterfaceDescriptor contains informations relevant to the generation of a view/GUI. |
|
List<org.squashtest.csp.core.bugtracker.domain.BTIssue> |
getIssues(List<String> issueKeyList)
returns a list of BTIssu corresponding to the given string keys |
|
URL |
getIssueUrl(String btIssueId)
Gets the url of a remote Issue given its Id |
|
List<org.squashtest.csp.core.bugtracker.domain.Priority> |
getRemotePriorities()
returns the list of priorities . |
|
void |
setCredentials(String username,
String password)
sets the credentials of an user for authentication bugtracker-side. |
|
| Method Detail |
|---|
<X extends Bugged> X findBuggedEntity(Long entityId,
Class<X> entityClass)
X - : a .class of an implementor of bugged.entityId - : the id of that entity.entityClass - : the actual class of that entity.
org.squashtest.csp.core.bugtracker.domain.BTIssue createIssue(Bugged entity,
org.squashtest.csp.core.bugtracker.domain.BTIssue issue)
entityId - : the id of that entity.entityClass - : the actual class of that entity, that implements Bugged.issue - : the issue to add
URL getIssueUrl(String btIssueId)
btIssueId - the id of that issue
org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor getInterfaceDescriptor()
FilteredCollectionHolder<List<IssueOwnership<Issue>>> findSquashIssues(Bugged buggedEntity,
CollectionSorting sorter)
buggedEntity - of which we need to get the issues,sorter - that tells us how we should sort and filter the data
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> findBugTrackerIssues(Bugged buggedEntity,
CollectionSorting sorter)
buggedEntity - of which we need to get the issues,sorter - that tells us how we should sort and filter the data
BugTrackerStatus checkBugTrackerStatus()
void setCredentials(String username,
String password)
username - password -
org.squashtest.csp.core.bugtracker.core.BugTrackerRemoteException - if the credentials are wrongorg.squashtest.csp.core.bugtracker.domain.BTProject findRemoteProject(String name)
name - : the name of the project.
List<org.squashtest.csp.core.bugtracker.domain.Priority> getRemotePriorities()
org.squashtest.csp.core.bugtracker.core.BugTrackerManagerException - and subtypes.List<org.squashtest.csp.core.bugtracker.domain.BTIssue> getIssues(List<String> issueKeyList)
issueKeyList - the issue key list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||