public class

GitRepositoryData

extends RepositoryData
implements HasAuthenticationData
java.lang.Object
   ↳ com.atlassian.fisheye.spi.admin.data.RepositoryData
     ↳ com.atlassian.fisheye.spi.admin.data.GitRepositoryData

Class Overview

FishEye repository data object for Git repositories.

Only those methods specified to throw NullPointerException do not accept null values to clear the corresponding field.

Summary

[Expand]
Inherited Fields
From class com.atlassian.fisheye.spi.admin.data.RepositoryData
Public Constructors
GitRepositoryData(String name, String location)

See the documentation of setName(String) and setLocation(String) for possible exceptions thrown.

Public Methods
AuthenticationData getAuthentication()
Integer getBlockSize()
String getCommandTimeout()
String getLocation()
String getLocationDescription()
String getPath()
Integer getRenameOption()
RepositoryData.Type getType()
void setAuthentication(AuthenticationData authenticationData)
void setBlockSize(Integer blockSize)
void setCommandTimeout(String commandTimeout)
void setLocation(String location)
void setPath(String path)
void setRenameOption(Integer renameOption)
[Expand]
Inherited Methods
From class com.atlassian.fisheye.spi.admin.data.RepositoryData
From class java.lang.Object
From interface com.atlassian.fisheye.spi.admin.data.HasAuthenticationData

Public Constructors

public GitRepositoryData (String name, String location)

See the documentation of setName(String) and setLocation(String) for possible exceptions thrown.

Public Methods

public AuthenticationData getAuthentication ()

public Integer getBlockSize ()

public String getCommandTimeout ()

public String getLocation ()

public String getLocationDescription ()

Returns
  • a human-friendly representation of the location of the repository

public String getPath ()

public Integer getRenameOption ()

public RepositoryData.Type getType ()

public void setAuthentication (AuthenticationData authenticationData)

public void setBlockSize (Integer blockSize)

public void setCommandTimeout (String commandTimeout)

Throws
IllegalArgumentException if a non-null commandTimeout does not match TIME_INTERVAL_REGEX

public void setLocation (String location)

Throws
NullPointerException if location is null
IllegalArgumentException if location is blank

public void setPath (String path)

public void setRenameOption (Integer renameOption)