|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BugTrackersLocalService
| Method Summary | |
|---|---|
void |
attachIssue(IssueDetector bugged,
String remoteIssueKey)
Will attach an existing issue to the issue detector |
BugTrackerStatus |
checkBugTrackerStatus(Long projectId)
same as checkBugTrackerStatus(Project), using the id of the project
instead. |
BugTrackerStatus |
checkBugTrackerStatus(Project project)
tests if the bugtracker is ready for use |
org.squashtest.csp.core.bugtracker.domain.BTIssue |
createIssue(IssueDetector entity,
org.squashtest.csp.core.bugtracker.domain.BTIssue issue)
adds a new Issue to the entity. |
org.squashtest.csp.core.bugtracker.domain.BTProject |
findRemoteProject(String name,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
returns an instance of the remote project. |
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findSortedIssueOwnershipForIteration(Long iterId,
CollectionSorting sorter)
Given an Iteration, returns a list of linked BTIssue (not Issue). |
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findSortedIssueOwnershipForTestCase(Long tcId,
CollectionSorting sorter)
Given a TestCase, returns a list of linked BTIssue (not Issue). |
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findSortedIssueOwnershipsForCampaigns(Long campId,
CollectionSorting sorter)
Given an Campaign, returns a list of linked BTIssue (not Issue) To keep track of which IssueDetector owns which issue, the data are wrapped in a IssueOwnership (that just pair the informations together). |
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findSortedIssueOwnershipsforExecution(Long execId,
CollectionSorting sorter)
Given an Execution, returns a list of linked BTIssue (not Issue). |
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findSortedIssueOwnerShipsForExecutionStep(Long stepId,
CollectionSorting sorter)
Given an ExecutionStep, returns a list of linked BTIssue (not Issue). |
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findSortedIssueOwnershipsForTestSuite(Long testSuiteId,
CollectionSorting sorter)
Given a TestSuite, returns a list of linked BTIssue (not Issue). |
org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor |
getInterfaceDescriptor(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
An InterfaceDescriptor contains informations relevant to the generation of a view/GUI. |
org.squashtest.csp.core.bugtracker.domain.BTIssue |
getIssue(String issueKey,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
returns a remote issue using its key |
List<org.squashtest.csp.core.bugtracker.domain.BTIssue> |
getIssues(List<String> issueKeyList,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
returns a list of BTIssu corresponding to the given string keys |
URL |
getIssueUrl(String btIssueId,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
Gets the url of a remote Issue given its Id |
Set<String> |
getProviderKinds()
|
List<org.squashtest.csp.core.bugtracker.domain.Priority> |
getRemotePriorities(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
returns the list of priorities . |
void |
setCredentials(String username,
String password,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
sets the credentials of an user for authentication bugtracker-side. |
| Method Detail |
|---|
org.squashtest.csp.core.bugtracker.domain.BTIssue createIssue(IssueDetector entity,
org.squashtest.csp.core.bugtracker.domain.BTIssue issue)
entityId - : the id of that entity.entityClass - : the actual class of that entity, that implements IssueDetector.issue - : the issue to add
URL getIssueUrl(String btIssueId,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
btIssueId - the id of that issuebugTracker - : the concerned BugTracker
org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor getInterfaceDescriptor(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
bugTracker - the concerned BugTracker
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> findSortedIssueOwnerShipsForExecutionStep(Long stepId,
CollectionSorting sorter)
stepId - 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>>> findSortedIssueOwnershipsforExecution(Long execId,
CollectionSorting sorter)
execId - 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>>> findSortedIssueOwnershipForIteration(Long iterId,
CollectionSorting sorter)
iterId - 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>>> findSortedIssueOwnershipsForCampaigns(Long campId,
CollectionSorting sorter)
campId - 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>>> findSortedIssueOwnershipsForTestSuite(Long testSuiteId,
CollectionSorting sorter)
testSuiteId - for 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>>> findSortedIssueOwnershipForTestCase(Long tcId,
CollectionSorting sorter)
testCase - id for which we need to get the issues,sorter - that tells us how we should sort and filter the data
BugTrackerStatus checkBugTrackerStatus(Project project)
project - : the concerned Project
BugTrackerStatus checkBugTrackerStatus(Long projectId)
checkBugTrackerStatus(Project), using the id of the project
instead.
projectId -
void setCredentials(String username,
String password,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
username - password - bugTracker - : the concerned BugTracker
org.squashtest.csp.core.bugtracker.core.BugTrackerRemoteException - if the credentials are wrong
org.squashtest.csp.core.bugtracker.domain.BTProject findRemoteProject(String name,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
name - : the name of the project.bugTracker - : the concerned BugTracker
List<org.squashtest.csp.core.bugtracker.domain.Priority> getRemotePriorities(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
bugTracker - : the concerned BugTracker
org.squashtest.csp.core.bugtracker.core.BugTrackerManagerException - and subtypes.
org.squashtest.csp.core.bugtracker.domain.BTIssue getIssue(String issueKey,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
issueKey - bugTracker - : the concerned BugTracker
List<org.squashtest.csp.core.bugtracker.domain.BTIssue> getIssues(List<String> issueKeyList,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
issueKeyList - the remote issue key listbugTracker - : the concerned BugTracker
void attachIssue(IssueDetector bugged,
String remoteIssueKey)
bugged - : the furure issue holderremoteIssueKey - : the identificator of the issue in the BTSet<String> getProviderKinds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||