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 StringThe name of the baseline, as returned from the "scm status" command.private StringThe name of the component, as returned from the "scm status" command.private StringThe name of the flow target, as returned from the "scm status" command.private intThe 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 StringThe URI of the repository server.private StringThe name of the remote repository workspace (as set from the URL).private StringThe name of the repository workspace, as returned from the "scm status" command.private intThe alias of the repository workspace, as returned from the "scm status" command. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturn the URI of the repository server, as parsed from the URL.Return the name of the remote repository workspace, as parsed from the URL.intbooleanReturntrueif we have a valid flow target.booleanReturntrueif we have a valid flow target and pushChanges istrue.voidsetBaseline(String baseline) voidsetComponent(String component) voidsetFlowTarget(String flowTarget) voidsetFlowTargetAlias(int flowTargetAlias) voidsetIncomingChangeSetAliases(List<Integer> incomingChangeSetAliases) voidsetOutgoingChangeSetAliases(List<Integer> outgoingChangeSetAliases) voidsetWorkspace(String fWorkspace) voidsetWorkspaceAlias(int workspaceAlias) toString()Methods inherited from class org.apache.maven.scm.provider.ScmProviderRepositoryWithHost
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKeyMethods 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()Returntrueif we have a valid flow target and pushChanges istrue. -
isHaveFlowTargets
public boolean isHaveFlowTargets()Returntrueif 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<Integer> 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<Integer> 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
-