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() |
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 |
setWorkspace(String fWorkspace) |
void |
setWorkspaceAlias(int workspaceAlias) |
String |
toString() |
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKey
getParent, getPassword, getRelativePath, getUser, isPersistCheckout, isPushChanges, setPassword, setPersistCheckout, setPushChanges, setUser
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)
streamAlias
- the streamAlias 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.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.