com.urbancode.anthill3.domain.singleton.bugs
Class BugServer
java.lang.Object
com.urbancode.anthill3.domain.persistent.AbstractPersistent
com.urbancode.anthill3.domain.singleton.Singleton
com.urbancode.anthill3.domain.singleton.bugs.BugServer
- All Implemented Interfaces:
- Persistent, PersistentDependentOwner, java.io.Serializable
- Direct Known Subclasses:
- AccuWorkSettings, BugzillaServer, ClearQuest, JiraServer, QualityCenterServer, RallyServer, TeamTrackServer, TfsServer, TrackerServer, VersionOneServer
public abstract class BugServer
- extends Singleton
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getIssueTrackerDescription()
Used for issue tracking metrics, override if multiple instances of
configurations are allowed. |
abstract java.lang.String |
getIssueTrackerName()
Used for issue tracking metrics, override if multiple instances of
configurations are allowed. |
java.lang.String |
getPassword()
|
java.lang.String |
getPasswordScript()
|
java.lang.String |
getServerIssueUrl()
Get the url which will take a user directly to an issue, the key ${issueId} is replaced with the issue id of the
issue to generate the final url. |
java.lang.String |
getServerUrl()
|
java.lang.String |
getUsername()
|
abstract boolean |
isRunServerSide()
Used to determine whether this Bug Tracker's steps are run on the
Server or on the agent. |
void |
setPassword(java.lang.String password)
|
void |
setPasswordScript(java.lang.String passwordScript)
|
void |
setServerIssueUrl(java.lang.String serverIssueUrl)
Set the url which will take a user directly to an issue, the key ${issueId} should be replaced with the
appropriate id for the issue that we want to view. |
void |
setServerUrl(java.lang.String serverUrl)
|
void |
setUsername(java.lang.String username)
|
Methods inherited from class com.urbancode.anthill3.domain.persistent.AbstractPersistent |
delete, equals, getDependentArray, getId, getMaterializedReferenceArray, getName, getUnitOfWork, getVer, getWrapper, hashCode, isDeleted, isDirty, isNew, registerDependent, removeDependent, resetState, separateFromCurrentUnitOfWork, setDeleted, setDeleted, setDirty, setDirty, setId, setNew, setNew, setUnitOfWork, setVer, store, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BugServer
public BugServer()
BugServer
public BugServer(boolean isNew)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getPasswordScript
public java.lang.String getPasswordScript()
setPasswordScript
public void setPasswordScript(java.lang.String passwordScript)
getServerUrl
public java.lang.String getServerUrl()
setServerUrl
public void setServerUrl(java.lang.String serverUrl)
getServerIssueUrl
public java.lang.String getServerIssueUrl()
- Get the url which will take a user directly to an issue, the key ${issueId} is replaced with the issue id of the
issue to generate the final url.
- Returns:
- The templated url which will go to the page for a particular issue.
setServerIssueUrl
public void setServerIssueUrl(java.lang.String serverIssueUrl)
- Set the url which will take a user directly to an issue, the key ${issueId} should be replaced with the
appropriate id for the issue that we want to view.
- Parameters:
serverIssueUrl
- The templated url for viewing the information related to a specific issue id.
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getIssueTrackerName
public abstract java.lang.String getIssueTrackerName()
- Used for issue tracking metrics, override if multiple instances of
configurations are allowed.
getIssueTrackerDescription
public java.lang.String getIssueTrackerDescription()
- Used for issue tracking metrics, override if multiple instances of
configurations are allowed.
isRunServerSide
public abstract boolean isRunServerSide()
- Used to determine whether this Bug Tracker's steps are run on the
Server or on the agent.
- Returns:
- true if the steps are to be run on the server and false for
execution on the job config agent.