|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.integrity.Member
public class Member
This class represents an Integrity SCM Member
It contains all the necessary metadata to check this file out individually
Constructor Summary | |
---|---|
Member(com.mks.api.response.WorkItem wi,
String configPath,
String projectRoot,
String workspaceDir)
This class represents an MKS Integrity Source File It needs the Member Name (relative path to pj), Full Member Path, Project Configuration Path, Revision, Project's Root Path, and the current Workspace directory (to compute the working file path) for its instantiation. |
Method Summary | |
---|---|
boolean |
checkout(APISession api)
Performs a checkout of this MKS Integrity Source File to a working file location on the build server represented by targetFile |
boolean |
equals(Object o)
Uses the name of file for equality check |
String |
getDescription()
Returns any check-in comments associated with this revision |
String |
getMemberName()
Returns the full server-side member path for this member |
String |
getName()
Returns only the file name portion for this full server-side member path |
String |
getRevision()
Returns a string representation of this member's revision |
String |
getTargetFilePath()
Returns a string representation of this file's full path name, where it will checked out to disk for the build. |
Date |
getTimestamp()
Returns the date/time associated with this member revision |
void |
setLineTerminator(String lineTerminator)
Optionally, one may set a line terminator, if the default is not desired. |
void |
setOverwriteExisting(String overwriteExisting)
Optionally, one may choose not to overwrite existing files, this may speed up the synchronization process. |
void |
setRestoreTimestamp(boolean restoreTime)
Optionally, one might want to restore the timestamp, if the build is smart not to recompile files that were not touched. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Member(com.mks.api.response.WorkItem wi, String configPath, String projectRoot, String workspaceDir)
wi
- A MKS API Response Work Item representing metadata related to a Integrity MemberconfigPath
- Configuration Path for this file's project/subprojectprojectRoot
- Full path to the root location for this file's parent projectworkspaceDir
- Full path to the workspace root directoryMethod Detail |
---|
public String getTargetFilePath()
public String getRevision()
public Date getTimestamp()
public String getDescription()
public String getMemberName()
public String getName()
public void setLineTerminator(String lineTerminator)
lineTerminator
- public void setOverwriteExisting(String overwriteExisting)
overwriteExisting
- public void setRestoreTimestamp(boolean restoreTime)
restoreTimestamp
- public boolean checkout(APISession api) throws com.mks.api.response.APIException
api
- MKS API Session
com.mks.api.response.APIException
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |