public interface BrowseableProfile
SourceControlDialog| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_FILE |
static int |
TYPE_PROJECT
TODO rename to TYPE_DIRECTORY
|
static int |
TYPE_RETRIEVE |
| Modifier and Type | Method and Description |
|---|---|
void |
addDirectory(java.lang.String filePath,
java.lang.String projectName,
java.lang.String comment)
Create a subDirectory, also known as subProject.
|
java.lang.String |
buildPath(java.lang.String parentPath,
java.lang.String childName)
Just create a path with parentPath, separator and childName.
|
java.lang.String |
getRootPath()
Get the rootPath of the current source control profile.
|
java.lang.String |
getSeparator()
The separator (character) the browsable system uses to separate pathnames.
|
boolean |
isValidProjectName(java.lang.String name)
Check, if the given name is a valid projectname, which means not containing illegal characters.
|
java.lang.String[] |
list(java.lang.String filePath,
java.lang.String pattern,
int elementType)
Get a list of elements inside the specified filePath.
|
static final int TYPE_PROJECT
static final int TYPE_FILE
static final int TYPE_RETRIEVE
java.lang.String[] list(java.lang.String filePath,
java.lang.String pattern,
int elementType)
throws SourceControlException
filePath - file or path to get from the Source control system, has to be relative to the Profilerootpattern - optional pattern. e.g. "*.txt"elementType - TYPE_PROJECT or TYPE_FILESourceControlExceptionTYPE_PROJECT,
TYPE_FILEvoid addDirectory(java.lang.String filePath,
java.lang.String projectName,
java.lang.String comment)
throws SourceControlException
separator.filePath - projectName - the name of the folder to be createdcomment - SourceControlExceptionjava.lang.String getRootPath()
java.lang.String buildPath(java.lang.String parentPath,
java.lang.String childName)
parentPath - childName - boolean isValidProjectName(java.lang.String name)
name - java.lang.String getSeparator()
Copyright © Micro Focus 2004-2019. All rights reserved.