Class JazzScmProviderRepository
java.lang.Object
org.apache.maven.scm.provider.ScmProviderRepository
org.apache.maven.scm.provider.ScmProviderRepositoryWithHost
org.apache.maven.scm.provider.jazz.repository.JazzScmProviderRepository
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The name of the baseline, as returned from the "scm status" command.private String
The name of the component, as returned from the "scm status" command.private String
The name of the flow target, as returned from the "scm status" command.private int
The alias of the flow target, as returned from the "scm status" command.The incoming aliases of the change sets, as returned from the "scm status" command.The outgoing aliases of the change sets, as returned from the "scm status" command.private String
The URI of the repository server.private String
The name of the remote repository workspace (as set from the URL).private String
The name of the repository workspace, as returned from the "scm status" command.private int
The alias of the repository workspace, as returned from the "scm status" command. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Return the URI of the repository server, as parsed from the URL.Return the name of the remote repository workspace, as parsed from the URL.int
boolean
Returntrue
if we have a valid flow target.boolean
Returntrue
if we have a valid flow target and pushChanges istrue
.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) toString()
Methods inherited from class org.apache.maven.scm.provider.ScmProviderRepositoryWithHost
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKey
Methods inherited from class org.apache.maven.scm.provider.ScmProviderRepository
getParent, getPassword, getRelativePath, getUser, getWorkItem, isPersistCheckout, isPushChanges, setPassword, setPersistCheckout, setPushChanges, setUser, setWorkItem
-
Field Details
-
fRepositoryURI
The URI of the repository server. Of the form:// : / For example: https://rtc:9444/jazz -
fRepositoryWorkspace
The name of the remote repository workspace (as set from the URL). -
fWorkspaceAlias
private int fWorkspaceAliasThe alias of the repository workspace, as returned from the "scm status" command. -
fWorkspace
The name of the repository workspace, as returned from the "scm status" command. -
fFlowTargetAlias
private int fFlowTargetAliasThe alias of the flow target, as returned from the "scm status" command. -
fFlowTarget
The name of the flow target, as returned from the "scm status" command. -
fComponent
The name of the component, as returned from the "scm status" command. -
fBaseline
The name of the baseline, as returned from the "scm status" command. -
fOutgoingChangeSetAliases
The outgoing aliases of the change sets, as returned from the "scm status" command. -
fIncomingChangeSetAliases
The incoming aliases of the change sets, as returned from the "scm status" command.
-
-
Constructor Details
-
JazzScmProviderRepository
-
-
Method Details
-
isPushChangesAndHaveFlowTargets
public boolean isPushChangesAndHaveFlowTargets()Returntrue
if we have a valid flow target and pushChanges istrue
. -
isHaveFlowTargets
public boolean isHaveFlowTargets()Returntrue
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. -
getRepositoryURI
Return the URI of the repository server, as parsed from the URL.- Returns:
- The URI of the repository server, as parsed from the URL.
-
getRepositoryWorkspace
Return the name of the remote repository workspace, as parsed from the URL.- Returns:
- The name of the remote repository workspace, as parsed from the URL.
-
getWorkspaceAlias
public int getWorkspaceAlias()- Returns:
- The alias of the repository workspace, as returned from the "scm status" command.
-
setWorkspaceAlias
public void setWorkspaceAlias(int workspaceAlias) - Parameters:
workspaceAlias
- the workspaceAlias to set
-
getWorkspace
- Returns:
- The name of the repository workspace, as returned from the "scm status" command.
-
setWorkspace
- Parameters:
fWorkspace
- The fWorkspace to set.
-
getFlowTargetAlias
public int getFlowTargetAlias()- Returns:
- The alias of the flow target, as returned from the "scm status" command.
-
setFlowTargetAlias
public void setFlowTargetAlias(int flowTargetAlias) - Parameters:
flowTargetAlias
- the flowTargetAlias to set
-
getFlowTarget
- Returns:
- The name of the flow target, as returned from the "scm status" command.
-
setFlowTarget
- Parameters:
flowTarget
- The flowTarget to set.
-
getComponent
- Returns:
- The name of the component, as returned from the "scm status" command.
-
setComponent
- Parameters:
component
- The component to set.
-
getBaseline
- Returns:
- The name of the baseline, as returned from the "scm status" command.
-
setBaseline
- Parameters:
baseline
- The baseline to set.
-
getOutgoingChangeSetAliases
- Returns:
- The List
of aliases of the outgoing changesets, as returned from the "scm status" command.
-
setOutgoingChangeSetAliases
- Parameters:
outgoingChangeSetAliases
- The List of Integers of outgoing change set aliases to set
-
getIncomingChangeSetAliases
- Returns:
- The List
of aliases of the incoming changesets, as returned from the "scm status" command.
-
setIncomingChangeSetAliases
- Parameters:
incomingChangeSetAliases
- The List of Integers of incoming change set aliases to set
-
toString
-