public class GitRepositoryData extends RepositoryData implements HasAuthenticationData
Only those methods specified to throw NullPointerException do not
accept null values to clear the corresponding field.
RepositoryData.TypeNAME_REGEX, NAME_REGEX_PATTERN, TIME_INTERVAL_REGEX| Constructor and Description |
|---|
GitRepositoryData(java.lang.String name,
java.lang.String location)
Deprecated.
since 4.2.0; use
GitRepositoryData(String, String, String) instead |
GitRepositoryData(java.lang.String name,
java.lang.String displayName,
java.lang.String location)
See the documentation of
RepositoryData.setName(String), RepositoryData.setDisplayName(String) and
setLocation(String) for possible exceptions thrown. |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationData |
getAuthentication() |
java.lang.Integer |
getBlockSize() |
java.lang.String |
getCommandTimeout() |
java.lang.String |
getLocation() |
java.lang.String |
getLocationDescription() |
java.lang.String |
getPath() |
java.lang.Integer |
getRenameOption() |
RepositoryData.Type |
getType() |
void |
setAuthentication(AuthenticationData authenticationData) |
void |
setBlockSize(java.lang.Integer blockSize) |
void |
setCommandTimeout(java.lang.String commandTimeout)
Controls how long FishEye and Crucible will wait for a git command to complete.
|
void |
setLocation(java.lang.String location) |
void |
setPath(java.lang.String path) |
void |
setRenameOption(java.lang.Integer renameOption)
Controls how FishEye and Crucible will detect file renames.
|
getDescription, getDisplayName, getEnabled, getName, getParent, isManaged, isObsolete, isStoreDiff, setDescription, setDisplayName, setEnabled, setManaged, setName, setParent, setStoreDiff, toString@Deprecated
public GitRepositoryData(java.lang.String name,
java.lang.String location)
GitRepositoryData(String, String, String) insteadpublic GitRepositoryData(java.lang.String name,
java.lang.String displayName,
java.lang.String location)
See the documentation of RepositoryData.setName(String), RepositoryData.setDisplayName(String) and
setLocation(String) for possible exceptions thrown.
public RepositoryData.Type getType()
getType in class RepositoryDatapublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
java.lang.NullPointerException - if location is nulljava.lang.IllegalArgumentException - if location is blankpublic AuthenticationData getAuthentication()
getAuthentication in interface HasAuthenticationDatapublic void setAuthentication(AuthenticationData authenticationData)
setAuthentication in interface HasAuthenticationDatapublic java.lang.String getPath()
public void setPath(java.lang.String path)
path - The path within the Git repository that you wish to have FishEye index.public java.lang.Integer getBlockSize()
public void setBlockSize(java.lang.Integer blockSize)
blockSize - Controls how many commits FishEye will process in one batch.public java.lang.String getCommandTimeout()
public void setCommandTimeout(java.lang.String commandTimeout)
java.lang.IllegalArgumentException - if a non-null commandTimeout does not match RepositoryData.TIME_INTERVAL_REGEXpublic java.lang.Integer getRenameOption()
public void setRenameOption(java.lang.Integer renameOption)
renameOption - a String containing one of the options explained above: 'none', 'moves', 'copies' or 'detailed'public java.lang.String getLocationDescription()
getLocationDescription in class RepositoryData