|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.scm.IntegrityCMMember
public final class IntegrityCMMember
This class is intended to represent an Integrity CM Member However, due to scalability constraints, the bulk of the member metadata will be stored in an embedded database. The purpose of this class is to statically assist with various Integrity member operations, like co.
| Constructor Summary | |
|---|---|
IntegrityCMMember()
|
|
| Method Summary | |
|---|---|
static boolean |
checkout(APISession api,
String configPath,
String memberID,
String memberRev,
File targetFile,
boolean restoreTimestamp,
String lineTerminator)
Performs a checkout of this Integrity Source File to a working file location on the build server represented by targetFile |
static String |
getAnnotatedLink(String configPath,
String memberID,
String memberRev)
Returns an URL encoded string representation for invoking this Integrity member's annotated view |
static String |
getAuthor(APISession api,
String configPath,
String memberID,
String memberRev)
Performs a revision info on this Integrity Source File |
static String |
getDifferencesLink(String configPath,
String memberID,
String memberRev,
String oldMemberRev)
Returns an URL encoded string representation for invoking this Integrity member's differences view This assumes that IntegrityCMProject.compareBaseline() was invoked! |
static String |
getMD5Checksum(File targetFile)
Returns the MD5 checksum hash for a file |
static String |
getName(String memberID)
Returns only the file name portion for this full server-side member path |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegrityCMMember()
| Method Detail |
|---|
public static final String getName(String memberID)
memberID - The full server side path for the Integrity member
public static final String getAnnotatedLink(String configPath,
String memberID,
String memberRev)
throws UnsupportedEncodingException
configPath - Full server side path for this Integrity member's project/subprojectmemberID - Full server side path for this Integrity membermemberRev - Member revision string for this Integrity member
UnsupportedEncodingException
public static final String getDifferencesLink(String configPath,
String memberID,
String memberRev,
String oldMemberRev)
throws UnsupportedEncodingException
configPath - Full server side path for this Integrity member's project/subprojectmemberID - Full server side path for this Integrity membermemberRev - Member revision string for this Integrity memberoldMemberRev - Revision string representing the previous or next revision
UnsupportedEncodingException
public static final boolean checkout(APISession api,
String configPath,
String memberID,
String memberRev,
File targetFile,
boolean restoreTimestamp,
String lineTerminator)
throws com.mks.api.response.APIException
api - Integrity API SessionconfigPath - Full server side path for this Integrity member's project/subprojectmemberID - Full server side path for this Integrity membermemberRev - Member revision string for this Integrity membertargetFile - File object representing the target location for this filerestoreTimestamp - Toggles whether or not the original timestamp should be usedlineTerminator - Sets the line terminator for this file (native, crlf, or lf)
com.mks.api.response.APIException
public static String getAuthor(APISession api,
String configPath,
String memberID,
String memberRev)
api - Integrity API SessionconfigPath - Full project configuration pathmemberID - Member ID for this filememberRev - Member Revision for this file
public static final String getMD5Checksum(File targetFile)
throws IOException
targetFile - File object representing the target file
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||