|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.integrity.Project
public class Project
This class represents a MKS Integrity Configuration Management Project
Provides metadata information about a Project
Field Summary | |
---|---|
static String |
BUILD_PROJECT
|
static Comparator<Member> |
FILES_ORDER
|
static String |
NORMAL_PROJECT
|
static String |
VARIANT_PROJECT
|
Constructor Summary | |
---|---|
Project(APISession api,
String configPath)
Creates an instance of an Integrity SCM Project |
Method Summary | |
---|---|
com.mks.api.response.Response |
checkpoint(String message,
String tag)
Performs a checkpoint on the Integrity SCM Project |
com.mks.api.response.Response |
createDevPath(String devPath)
Creates a Development Path (project branch) for the MKS Integrity SCM Project |
String |
getConfigurationPath()
Returns the Full Configuration Path for this Integrity SCM Project |
Date |
getLastCheckpointDate()
Returns the date when the last checkpoint was performed on this Project |
String |
getProjectName()
Returns the project path for this Integrity SCM Project |
String |
getProjectRevision()
Returns the project revision for this Integrity SCM Project |
boolean |
isBuild()
Returns true if this is a Build Project |
boolean |
isNormal()
Returns true is this is a Normal Project |
boolean |
isVariant()
Returns true if this is a Variant Project |
List<Member> |
listFiles(String workspaceDir)
Parses the output from the si viewproject command to get a list of members |
static void |
validateTag(String tagName)
Checks if the given value is a valid MKS Integrity Label. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NORMAL_PROJECT
public static final String VARIANT_PROJECT
public static final String BUILD_PROJECT
public static final Comparator<Member> FILES_ORDER
Constructor Detail |
---|
public Project(APISession api, String configPath) throws com.mks.api.response.APIException
api
- MKS API Session objectconfigPath
- Configuration path for the MKS Integrity SCM Project
com.mks.api.response.APIException
Method Detail |
---|
public static void validateTag(String tagName) throws Exception
tagName
- The checkpoint label name
Exception
public String getProjectName()
public String getProjectRevision()
public boolean isNormal()
public boolean isVariant()
public boolean isBuild()
public String getConfigurationPath()
public Date getLastCheckpointDate()
public List<Member> listFiles(String workspaceDir) throws com.mks.api.response.APIException
workspaceDir
- The current workspace directory, which is required for an export
com.mks.api.response.APIException
public com.mks.api.response.Response checkpoint(String message, String tag) throws com.mks.api.response.APIException
message
- Checkpoint descriptiontag
- Checkpoint label
com.mks.api.response.APIException
public com.mks.api.response.Response createDevPath(String devPath) throws com.mks.api.response.APIException
devPath
- Development Path Name
com.mks.api.response.APIException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |