public class JazzScmProviderRepository extends ScmProviderRepositoryWithHost
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fBaseline
The name of the baseline, as returned from the "scm status" command.
|
private java.lang.String |
fComponent
The name of the component, as returned from the "scm status" command.
|
private java.lang.String |
fFlowTarget
The name of the flow target, as returned from the "scm status" command.
|
private int |
fFlowTargetAlias
The alias of the flow target, as returned from the "scm status" command.
|
private java.util.List<java.lang.Integer> |
fIncomingChangeSetAliases
The incoming aliases of the change sets, as returned from the "scm status" command.
|
private java.util.List<java.lang.Integer> |
fOutgoingChangeSetAliases
The outgoing aliases of the change sets, as returned from the "scm status" command.
|
private java.lang.String |
fRepositoryURI
The URI of the repository server.
|
private java.lang.String |
fRepositoryWorkspace
The name of the remote repository workspace (as set from the URL).
|
private java.lang.String |
fWorkspace
The name of the repository workspace, as returned from the "scm status" command.
|
private int |
fWorkspaceAlias
The alias of the repository workspace, as returned from the "scm status" command.
|
Constructor and Description |
---|
JazzScmProviderRepository(java.lang.String repositoryURI,
java.lang.String userName,
java.lang.String password,
java.lang.String hostName,
int port,
java.lang.String repositoryWorkspace) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseline() |
java.lang.String |
getComponent() |
java.lang.String |
getFlowTarget() |
int |
getFlowTargetAlias() |
java.util.List<java.lang.Integer> |
getIncomingChangeSetAliases() |
java.util.List<java.lang.Integer> |
getOutgoingChangeSetAliases() |
java.lang.String |
getRepositoryURI()
Return the URI of the repository server, as parsed from the URL.
|
java.lang.String |
getRepositoryWorkspace()
Return the name of the remote repository workspace, as parsed from the URL.
|
java.lang.String |
getWorkspace() |
int |
getWorkspaceAlias() |
boolean |
isHaveFlowTargets()
Return
true if we have a valid flow target. |
boolean |
isPushChangesAndHaveFlowTargets()
Return
true if we have a valid flow target and pushChanges is true . |
void |
setBaseline(java.lang.String baseline) |
void |
setComponent(java.lang.String component) |
void |
setFlowTarget(java.lang.String flowTarget) |
void |
setFlowTargetAlias(int flowTargetAlias) |
void |
setIncomingChangeSetAliases(java.util.List<java.lang.Integer> incomingChangeSetAliases) |
void |
setOutgoingChangeSetAliases(java.util.List<java.lang.Integer> outgoingChangeSetAliases) |
void |
setWorkspace(java.lang.String fWorkspace) |
void |
setWorkspaceAlias(int workspaceAlias) |
java.lang.String |
toString() |
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKey
getParent, getPassword, getRelativePath, getUser, getWorkItem, isPersistCheckout, isPushChanges, setPassword, setPersistCheckout, setPushChanges, setUser, setWorkItem
private java.lang.String fRepositoryURI
private java.lang.String fRepositoryWorkspace
private int fWorkspaceAlias
private java.lang.String fWorkspace
private int fFlowTargetAlias
private java.lang.String fFlowTarget
private java.lang.String fComponent
private java.lang.String fBaseline
private java.util.List<java.lang.Integer> fOutgoingChangeSetAliases
private java.util.List<java.lang.Integer> fIncomingChangeSetAliases
public JazzScmProviderRepository(java.lang.String repositoryURI, java.lang.String userName, java.lang.String password, java.lang.String hostName, int port, java.lang.String repositoryWorkspace)
public boolean isPushChangesAndHaveFlowTargets()
true
if we have a valid flow target and pushChanges is true
.public boolean isHaveFlowTargets()
true
if we have a valid flow target.
A valid flow target is a destination other than ourselves.
To determine this, we need to parse the output of the 'scm status' command.public java.lang.String getRepositoryURI()
public java.lang.String getRepositoryWorkspace()
public int getWorkspaceAlias()
public void setWorkspaceAlias(int workspaceAlias)
workspaceAlias
- the workspaceAlias to setpublic java.lang.String getWorkspace()
public void setWorkspace(java.lang.String fWorkspace)
fWorkspace
- The fWorkspace to set.public int getFlowTargetAlias()
public void setFlowTargetAlias(int flowTargetAlias)
flowTargetAlias
- the flowTargetAlias to setpublic java.lang.String getFlowTarget()
public void setFlowTarget(java.lang.String flowTarget)
flowTarget
- The flowTarget to set.public java.lang.String getComponent()
public void setComponent(java.lang.String component)
component
- The component to set.public java.lang.String getBaseline()
public void setBaseline(java.lang.String baseline)
baseline
- The baseline to set.public java.util.List<java.lang.Integer> getOutgoingChangeSetAliases()
public void setOutgoingChangeSetAliases(java.util.List<java.lang.Integer> outgoingChangeSetAliases)
outgoingChangeSetAliases
- The List of Integers of outgoing change set aliases to setpublic java.util.List<java.lang.Integer> getIncomingChangeSetAliases()
public void setIncomingChangeSetAliases(java.util.List<java.lang.Integer> incomingChangeSetAliases)
incomingChangeSetAliases
- The List of Integers of incoming change set aliases to setpublic java.lang.String toString()
toString
in class java.lang.Object