Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.jiraserver
Interface JiraServerManager

All Known Implementing Classes:
  JiraServerManagerImpl

    public interface JiraServerManager

Method Summary
`Collection` | `getAllJiraServers()`
`JiraServerDefinition` | `getDefaultJiraServer()` Gets the "Default" server.
`JiraServerDefinition` | `getJiraServer(long jiraServerId)` Gets a jira definition given the id
`void` | `removeJiraServer(long jiraServerId)` Delete the jira definition
`void` | `saveJiraServer(JiraServerDefinition jiraServer)` Saves the jira definition into database

Method Detail

### saveJiraServer

    void saveJiraServer(JiraServerDefinition jiraServer)

  Saves the jira definition into database

  Parameters:
    `jiraServer` -

### removeJiraServer

    void removeJiraServer(long jiraServerId)

  Delete the jira definition

  Parameters:
    `jiraServerId` -

### getJiraServer

    JiraServerDefinition getJiraServer(long jiraServerId)

  Gets a jira definition given the id

  Parameters:
    `jiraServerId` -
  Returns:
    `JiraServerDefinition` object

### getAllJiraServers

    Collection getAllJiraServers()

  Returns:
    a `Collection` of all JIRA servers

### getDefaultJiraServer

    JiraServerDefinition getDefaultJiraServer()

  Gets the "Default" server. Currently, Bamboo only allows setting up one JIRA instance anyways. This will get the server out without having an id.

  Returns:
    `JiraServerDefinition`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.