public class JazzScmProviderRepository extends ScmProviderRepositoryWithHost
Constructor and Description |
---|
JazzScmProviderRepository(String repositoryURI,
String userName,
String password,
String hostName,
int port,
String repositoryWorkspace) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseline() |
String |
getComponent() |
String |
getFlowTarget() |
int |
getFlowTargetAlias() |
List<Integer> |
getIncomingChangeSetAliases() |
List<Integer> |
getOutgoingChangeSetAliases() |
String |
getRepositoryURI()
Return the URI of the repository server, as parsed from the URL.
|
String |
getRepositoryWorkspace()
Return the name of the remote repository workspace, as parsed from the URL.
|
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(String baseline) |
void |
setComponent(String component) |
void |
setFlowTarget(String flowTarget) |
void |
setFlowTargetAlias(int flowTargetAlias) |
void |
setIncomingChangeSetAliases(List<Integer> incomingChangeSetAliases) |
void |
setOutgoingChangeSetAliases(List<Integer> outgoingChangeSetAliases) |
void |
setWorkspace(String fWorkspace) |
void |
setWorkspaceAlias(int workspaceAlias) |
String |
toString() |
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKey
getParent, getPassword, getRelativePath, getUser, getWorkItem, isPersistCheckout, isPushChanges, setPassword, setPersistCheckout, setPushChanges, setUser, setWorkItem
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 String getRepositoryURI()
public String getRepositoryWorkspace()
public int getWorkspaceAlias()
public void setWorkspaceAlias(int workspaceAlias)
workspaceAlias
- the workspaceAlias to setpublic String getWorkspace()
public void setWorkspace(String fWorkspace)
fWorkspace
- The fWorkspace to set.public int getFlowTargetAlias()
public void setFlowTargetAlias(int flowTargetAlias)
flowTargetAlias
- the flowTargetAlias to setpublic String getFlowTarget()
public void setFlowTarget(String flowTarget)
flowTarget
- The flowTarget to set.public String getComponent()
public void setComponent(String component)
component
- The component to set.public String getBaseline()
public void setBaseline(String baseline)
baseline
- The baseline to set.public List<Integer> getOutgoingChangeSetAliases()
public void setOutgoingChangeSetAliases(List<Integer> outgoingChangeSetAliases)
outgoingChangeSetAliases
- The List of Integers of outgoing change set aliases to setpublic List<Integer> getIncomingChangeSetAliases()
public void setIncomingChangeSetAliases(List<Integer> incomingChangeSetAliases)
incomingChangeSetAliases
- The List of Integers of incoming change set aliases to setCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.